Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0008196/0.0008196, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008803/0.0008803, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9271/0.9271, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09452/0.09452, allocations: 17.46 MB / 277.7 MB, free: 11.45 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 300.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.632e-05, allocations: 3.734 kB / 300.7 MB, free: 1.711 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03657/0.03659, allocations: 43.52 MB / 344.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03617/0.07276, allocations: 47.23 MB / 391.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.07475, allocations: 47.62 kB / 391.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.07673, allocations: 0.9534 MB / 392.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007307/0.08404, allocations: 3.886 MB / 396.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.0976, allocations: 6.739 MB / 403.1 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005116/0.1027, allocations: 4.685 MB / 407.8 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.105, allocations: 2.368 MB / 410.2 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.1082, allocations: 3.151 MB / 413.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.1103, allocations: 2.132 MB / 415.5 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.1107, allocations: 420 kB / 415.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.1209, allocations: 5.064 MB / 420.9 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.1216, allocations: 1.005 MB / 421.9 MB, free: 10.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.123, allocations: 1.509 MB / 423.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01781/0.1409, allocations: 9.354 MB / 432.8 MB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1409, allocations: 0 / 432.8 MB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1409, allocations: 8 kB / 432.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000133/0.141, allocations: 0 / 432.8 MB, free: 15.86 MB / 410.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.006772/0.1478, allocations: 4.704 MB / 437.5 MB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1478, allocations: 8.031 kB / 437.5 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.1504, allocations: 1.366 MB / 438.9 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.1521, allocations: 1.221 MB / 440.1 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.1523, allocations: 353.6 kB / 440.4 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.1526, allocations: 332.2 kB / 440.8 MB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.1556, allocations: 2.927 MB / 443.7 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.1557, allocations: 4.125 kB / 443.7 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.1559, allocations: 132.1 kB / 443.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.1559, allocations: 76 kB / 443.9 MB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.1586, allocations: 2.593 MB / 446.5 MB, free: 1.941 MB / 410.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.1491/0.3077, allocations: 7.98 MB / 454.5 MB, free: 72.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005299/0.313, allocations: 4.765 MB / 459.2 MB, free: 72.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.314, allocations: 0.8801 MB / 460.1 MB, free: 72.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009868/0.3239, allocations: 6.913 MB / 467 MB, free: 71.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.3239, allocations: 62.02 kB / 467.1 MB, free: 71.53 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009984/0.3249, allocations: 444.1 kB / 467.5 MB, free: 71.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=284): time 1.061e-05/0.3249, allocations: 2.688 kB / 467.5 MB, free: 71.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.03086/0.3558, allocations: 15.33 MB / 482.9 MB, free: 70.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3558, allocations: 98.67 kB / 483 MB, free: 70.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.3567, allocations: 1.393 MB / 484.4 MB, free: 70.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.3569, allocations: 87.08 kB / 484.4 MB, free: 70.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.3572, allocations: 1.157 MB / 485.6 MB, free: 69.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/0.3578, allocations: 1.371 MB / 487 MB, free: 68.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006945/0.3585, allocations: 0.7653 MB / 487.7 MB, free: 68.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.3585, allocations: 305.1 kB / 488 MB, free: 68.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.3593, allocations: 0.5943 MB / 488.6 MB, free: 68.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009311/0.3602, allocations: 1.603 MB / 490.2 MB, free: 66.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.3623, allocations: 2.84 MB / 493.1 MB, free: 63.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.3623, allocations: 12 kB / 493.1 MB, free: 63.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005977/0.3683, allocations: 3.511 MB / 496.6 MB, free: 59.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3683, allocations: 22.33 kB / 496.6 MB, free: 59.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.3683, allocations: 28 kB / 496.6 MB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/0.3738, allocations: 2.224 MB / 498.9 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.3754, allocations: 0.8793 MB / 499.7 MB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/0.3841, allocations: 12.87 MB / 0.5006 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.3859, allocations: 126.5 kB / 0.5007 GB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/0.3862, allocations: 186.7 kB / 0.5009 GB, free: 44.34 MB / 410.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.0008162/0.387, allocations: 370.1 kB / 0.5012 GB, free: 44.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.3874, allocations: 276.8 kB / 0.5015 GB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/0.3931, allocations: 3.717 MB / 0.5051 GB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.3931, allocations: 40 kB / 0.5052 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3931, allocations: 10.67 kB / 0.5052 GB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.3932, allocations: 19.92 kB / 0.5052 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/0.4014, allocations: 5.294 MB / 0.5104 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4014, allocations: 4 kB / 0.5104 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.4028, allocations: 0.6469 MB / 0.511 GB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005436/0.4082, allocations: 2.002 MB / 0.513 GB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004261/0.4086, allocations: 134.1 kB / 0.5131 GB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/0.4157, allocations: 12.3 MB / 0.5251 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4157, allocations: 7.844 kB / 0.5251 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/0.4214, allocations: 4.273 MB / 0.5293 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.4222, allocations: 385.7 kB / 0.5297 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.4224, allocations: 87.98 kB / 0.5297 GB, free: 16.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.4232, allocations: 86.67 kB / 0.5298 GB, free: 16.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.4235, allocations: 346.2 kB / 0.5301 GB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.4237, allocations: 129.9 kB / 0.5303 GB, free: 15.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.424, allocations: 0.6158 MB / 0.5309 GB, free: 15.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.424, allocations: 0 / 0.5309 GB, free: 15.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00378/0.4278, allocations: 2.203 MB / 0.533 GB, free: 13.49 MB / 410.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.00243/0.4302, allocations: 2.467 MB / 0.5354 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.4333, allocations: 3.468 MB / 0.5388 GB, free: 8.105 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.213e-05/0.4334, allocations: 33.81 kB / 0.5389 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.4351, allocations: 2.344 MB / 0.5411 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4363, allocations: 0.6098 MB / 0.5417 GB, free: 5.234 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.4417, allocations: 5.566 MB / 0.5472 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4422, allocations: 0.5668 MB / 0.5477 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001356/0.4435, allocations: 0.6272 MB / 0.5483 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.4449, allocations: 0.8288 MB / 0.5491 GB, free: 13.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4449, allocations: 5.562 kB / 0.5492 GB, free: 13.85 MB / 426.7 MB Notification: Performance of Templates: time 0.2162/0.6611, allocations: 97.5 MB / 0.6444 GB, free: 116.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.548617773223668]