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.0009315/0.0009315, allocations: 93.06 kB / 19.65 MB, free: 280 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.001002/0.001002, allocations: 173 kB / 23.03 MB, free: 1.547 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.08696/0.08696, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.473e-06/1.473e-06, allocations: 0 / 353.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.668e-05, allocations: 2.312 kB / 353.5 MB, free: 9.965 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.03211/0.03213, allocations: 37.95 MB / 391.4 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1756/0.2078, allocations: 47.93 MB / 439.3 MB, free: 30.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.21, allocations: 52.5 kB / 439.4 MB, free: 30.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.2127, allocations: 0.9371 MB / 440.3 MB, free: 30.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009313/0.222, allocations: 3.85 MB / 444.2 MB, free: 27.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01371/0.2357, allocations: 6.69 MB / 450.9 MB, free: 22.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004305/0.24, allocations: 4.689 MB / 455.5 MB, free: 19.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.2422, allocations: 2.311 MB / 457.9 MB, free: 17.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.2448, allocations: 3.159 MB / 461 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.2469, allocations: 2.152 MB / 463.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007345/0.2476, allocations: 420 kB / 463.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.2585, allocations: 5.068 MB / 468.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.2596, allocations: 1.001 MB / 469.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.2616, allocations: 1.515 MB / 471.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01949/0.281, allocations: 9.35 MB / 480.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2811, allocations: 0 / 480.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2811, allocations: 4 kB / 480.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.219e-05/0.2811, allocations: 3.984 kB / 480.5 MB, free: 10.91 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.006689/0.2878, allocations: 4.875 MB / 485.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2879, allocations: 12.03 kB / 485.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.2908, allocations: 1.418 MB / 486.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.2928, allocations: 1.637 MB / 488.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.293, allocations: 345.7 kB / 488.8 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.2934, allocations: 338.9 kB / 489.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.2974, allocations: 3.221 MB / 492.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.2974, allocations: 192 / 492.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.2976, allocations: 128.4 kB / 492.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.2977, allocations: 82.59 kB / 492.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.3018, allocations: 3.553 MB / 496.1 MB, free: 11.13 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.01308/0.3149, allocations: 10.48 MB / 0.4947 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/0.3207, allocations: 5.257 MB / 0.4999 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.3223, allocations: 1.21 MB / 0.501 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.3335, allocations: 7.911 MB / 0.5088 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3336, allocations: 68.44 kB / 0.5088 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001115/0.3347, allocations: 456.5 kB / 0.5093 GB, free: 1.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 1.023e-05/0.3347, allocations: 0 / 0.5093 GB, free: 1.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.03754/0.3723, allocations: 16.47 MB / 0.5253 GB, free: 1.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3723, allocations: 94.45 kB / 0.5254 GB, free: 1.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.3737, allocations: 1.479 MB / 0.5269 GB, free: 15.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004155/0.3741, allocations: 89.7 kB / 0.527 GB, free: 15.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.3751, allocations: 1.428 MB / 0.5284 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009459/0.3761, allocations: 1.363 MB / 0.5297 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009031/0.377, allocations: 0.787 MB / 0.5305 GB, free: 11.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3771, allocations: 480.7 kB / 0.5309 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3785, allocations: 0.9256 MB / 0.5318 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.3805, allocations: 2.302 MB / 0.5341 GB, free: 7.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.3847, allocations: 3.714 MB / 0.5377 GB, free: 3.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.3847, allocations: 10.66 kB / 0.5377 GB, free: 3.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009727/0.3944, allocations: 4.886 MB / 0.5425 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.3945, allocations: 16 kB / 0.5425 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.956e-05/0.3945, allocations: 32 kB / 0.5425 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006853/0.4014, allocations: 2.28 MB / 0.5448 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.4038, allocations: 0.8919 MB / 0.5456 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1706/0.5743, allocations: 18.44 MB / 0.5636 GB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.577, allocations: 139.1 kB / 0.5638 GB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/0.5777, allocations: 232.3 kB / 0.564 GB, free: 90.83 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.001103/0.5788, allocations: 409.5 kB / 0.5644 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008833/0.5797, allocations: 396.2 kB / 0.5648 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.5914, allocations: 4.862 MB / 0.5695 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.5914, allocations: 47.97 kB / 0.5695 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/0.5914, allocations: 3.953 kB / 0.5695 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.294e-05/0.5915, allocations: 20.06 kB / 0.5696 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.6044, allocations: 7.373 MB / 0.5768 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.6045, allocations: 3.688 kB / 0.5768 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.6061, allocations: 0.6606 MB / 0.5774 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006186/0.6123, allocations: 2.05 MB / 0.5794 GB, free: 89.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004528/0.6127, allocations: 138.1 kB / 0.5795 GB, free: 89.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.6235, allocations: 17.68 MB / 0.5968 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6235, allocations: 11.39 kB / 0.5968 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.6337, allocations: 5.661 MB / 0.6024 GB, free: 73.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.6349, allocations: 0.6149 MB / 0.603 GB, free: 73.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.6351, allocations: 82.25 kB / 0.603 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/0.6361, allocations: 92.42 kB / 0.6031 GB, free: 73.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/0.6367, allocations: 360 kB / 0.6035 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/0.6369, allocations: 157.9 kB / 0.6036 GB, free: 73.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007141/0.6377, allocations: 0.8186 MB / 0.6044 GB, free: 72.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6377, allocations: 0 / 0.6044 GB, free: 72.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004276/0.6419, allocations: 2.2 MB / 0.6066 GB, free: 72.72 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.003384/0.6453, allocations: 2.342 MB / 0.6088 GB, free: 72.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005762/0.6511, allocations: 4.555 MB / 0.6133 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.6511, allocations: 4 kB / 0.6133 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.6541, allocations: 3.076 MB / 0.6163 GB, free: 65.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.6559, allocations: 0.6243 MB / 0.6169 GB, free: 64.99 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.663, allocations: 5.882 MB / 0.6227 GB, free: 59.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.6635, allocations: 0.5695 MB / 0.6232 GB, free: 58.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001862/0.6653, allocations: 0.6476 MB / 0.6238 GB, free: 58.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/0.6661, allocations: 452.1 kB / 0.6243 GB, free: 58.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.384e-06/0.6661, allocations: 0 / 0.6243 GB, free: 58.02 MB / 426.7 MB Notification: Performance of Templates: time 0.08538/0.7515, allocations: 96.41 MB / 0.7184 GB, free: 10.54 MB / 474.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: 6.21706714713946]