Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1669/0.1669, allocations: 17.37 MB / 276.9 MB, free: 11.67 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 352.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.917e-05, allocations: 2.312 kB / 352.7 MB, free: 10.3 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.05331/0.05334, allocations: 35.53 MB / 388.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2069/0.2602, allocations: 47.73 MB / 436 MB, free: 31.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.2625, allocations: 51.19 kB / 436 MB, free: 31.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.265, allocations: 0.9319 MB / 437 MB, free: 30.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.2752, allocations: 3.85 MB / 440.8 MB, free: 28.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.2906, allocations: 6.683 MB / 447.5 MB, free: 23.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004787/0.2953, allocations: 4.689 MB / 452.2 MB, free: 20.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.2976, allocations: 2.314 MB / 454.5 MB, free: 19.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.3004, allocations: 3.158 MB / 457.7 MB, free: 16.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.3029, allocations: 2.149 MB / 459.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000592/0.3035, allocations: 420 kB / 460.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.3154, allocations: 5.068 MB / 465.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007902/0.3162, allocations: 1.005 MB / 466.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.3179, allocations: 1.509 MB / 467.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.022/0.3399, allocations: 10.92 MB / 478.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.098e-06/0.3399, allocations: 4 kB / 478.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3399, allocations: 0 / 478.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.298e-05/0.34, allocations: 0 / 478.7 MB, free: 11.62 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.0117/0.3517, allocations: 5.07 MB / 483.8 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3517, allocations: 12.03 kB / 483.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.357, allocations: 1.426 MB / 485.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.3612, allocations: 1.637 MB / 486.9 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.3616, allocations: 349.7 kB / 487.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008304/0.3624, allocations: 332.2 kB / 487.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.3713, allocations: 4.141 MB / 491.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-05/0.3714, allocations: 192 / 491.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.3718, allocations: 128.4 kB / 491.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.112e-05/0.3719, allocations: 79.94 kB / 491.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.3825, allocations: 5.211 MB / 497.1 MB, free: 9.07 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.4119, allocations: 12.37 MB / 0.4975 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.4225, allocations: 4.837 MB / 0.5022 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/0.426, allocations: 1.722 MB / 0.5039 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02486/0.4508, allocations: 8.931 MB / 0.5126 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.839e-05/0.4509, allocations: 68.98 kB / 0.5127 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002307/0.4532, allocations: 457.8 kB / 0.5132 GB, free: 12.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 1.055e-05/0.4532, allocations: 0 / 0.5132 GB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=387): time 0.08192/0.5351, allocations: 19.82 MB / 0.5325 GB, free: 8.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/0.5352, allocations: 94.39 kB / 0.5326 GB, free: 8.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.538, allocations: 1.826 MB / 0.5344 GB, free: 6.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005837/0.5386, allocations: 89.7 kB / 0.5345 GB, free: 6.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.5403, allocations: 1.497 MB / 0.5359 GB, free: 5.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00189/0.5422, allocations: 1.441 MB / 0.5373 GB, free: 3.828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.5438, allocations: 0.8861 MB / 0.5382 GB, free: 2.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.5441, allocations: 480.8 kB / 0.5387 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.5473, allocations: 1.496 MB / 0.5401 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.5525, allocations: 2.977 MB / 0.543 GB, free: 13.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009726/0.5622, allocations: 5.265 MB / 0.5482 GB, free: 7.578 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/0.5622, allocations: 8 kB / 0.5482 GB, free: 7.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02087/0.5831, allocations: 6.296 MB / 0.5543 GB, free: 1.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.5831, allocations: 19.94 kB / 0.5543 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.584e-05/0.5832, allocations: 28 kB / 0.5544 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1331/0.7163, allocations: 2.65 MB / 0.557 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.72, allocations: 0.8961 MB / 0.5578 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/0.7432, allocations: 21.73 MB / 0.5791 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.7463, allocations: 142.3 kB / 0.5792 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004386/0.7468, allocations: 231.7 kB / 0.5794 GB, free: 121 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001201/0.748, allocations: 0.6274 MB / 0.58 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/0.7488, allocations: 394.2 kB / 0.5804 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.764, allocations: 6.098 MB / 0.5864 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-05/0.764, allocations: 44.44 kB / 0.5864 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.7641, allocations: 3.375 kB / 0.5864 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-05/0.7641, allocations: 23.25 kB / 0.5864 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/0.7835, allocations: 9.4 MB / 0.5956 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.7836, allocations: 4 kB / 0.5956 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/0.7862, allocations: 0.6644 MB / 0.5963 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/0.7981, allocations: 2.355 MB / 0.5986 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/0.7986, allocations: 135.9 kB / 0.5987 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.8168, allocations: 20.4 MB / 0.6186 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8168, allocations: 7.828 kB / 0.6186 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/0.8332, allocations: 7.839 MB / 0.6263 GB, free: 82.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.8347, allocations: 0.6141 MB / 0.6269 GB, free: 82.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.8352, allocations: 83.98 kB / 0.627 GB, free: 81.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/0.837, allocations: 95.92 kB / 0.627 GB, free: 81.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006674/0.8376, allocations: 350.5 kB / 0.6274 GB, free: 81.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/0.8379, allocations: 169.3 kB / 0.6275 GB, free: 81.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.8389, allocations: 1.007 MB / 0.6285 GB, free: 80.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8389, allocations: 0 / 0.6285 GB, free: 80.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005408/0.8444, allocations: 2.198 MB / 0.6307 GB, free: 78.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003496/0.8478, allocations: 2.342 MB / 0.633 GB, free: 76.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008757/0.8566, allocations: 5.708 MB / 0.6385 GB, free: 71.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.8566, allocations: 0 / 0.6385 GB, free: 71.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004946/0.8616, allocations: 3.659 MB / 0.6421 GB, free: 67.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.8643, allocations: 0.6322 MB / 0.6427 GB, free: 66.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009872/0.8741, allocations: 6.537 MB / 0.6491 GB, free: 60.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/0.8751, allocations: 1.328 MB / 0.6504 GB, free: 58.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002462/0.8776, allocations: 0.6509 MB / 0.651 GB, free: 58.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.8786, allocations: 456.1 kB / 0.6515 GB, free: 57.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/0.8786, allocations: 0 / 0.6515 GB, free: 57.95 MB / 426.7 MB Notification: Performance of Templates: time 0.2425/1.121, allocations: 87.5 MB / 0.7369 GB, free: 141 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.457201002980582]