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.0008738/0.0008738, allocations: 80.75 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.0008791/0.0008791, allocations: 181 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.9066/0.9066, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.07913/0.07913, allocations: 17.39 MB / 277.6 MB, free: 11.54 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.282e-06/1.282e-06, allocations: 0 / 300.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.927e-06/1.021e-05, allocations: 3.688 kB / 300.6 MB, free: 1.93 MB / 266.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.03248/0.03249, allocations: 43.5 MB / 344.1 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0359/0.06839, allocations: 47.23 MB / 391.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.07001, allocations: 51.56 kB / 391.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.07169, allocations: 0.9495 MB / 392.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.07843, allocations: 3.874 MB / 396.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.09049, allocations: 6.755 MB / 403 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003988/0.09447, allocations: 4.677 MB / 407.7 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.09686, allocations: 2.368 MB / 410 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.09934, allocations: 3.159 MB / 413.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1011, allocations: 2.128 MB / 415.3 MB, free: 1.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.1015, allocations: 424 kB / 415.7 MB, free: 1.145 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00891/0.1104, allocations: 5.06 MB / 420.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005527/0.111, allocations: 1.005 MB / 421.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.112, allocations: 1.509 MB / 423.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.1229, allocations: 9.358 MB / 432.7 MB, free: 164 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1229, allocations: 0 / 432.7 MB, free: 164 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1229, allocations: 0 / 432.7 MB, free: 164 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.1229, allocations: 0 / 432.7 MB, free: 164 kB / 394.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.004571/0.1275, allocations: 4.708 MB / 437.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1275, allocations: 8.031 kB / 437.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.1299, allocations: 1.362 MB / 438.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1314, allocations: 1.225 MB / 440 MB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.1316, allocations: 345.7 kB / 440.3 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.1319, allocations: 328.2 kB / 440.6 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.1344, allocations: 2.919 MB / 443.6 MB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.1345, allocations: 8.125 kB / 443.6 MB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.1347, allocations: 128.1 kB / 443.7 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.1347, allocations: 80 kB / 443.8 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.1378, allocations: 2.597 MB / 446.4 MB, free: 2.242 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.1446/0.2823, allocations: 7.996 MB / 454.4 MB, free: 73.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00541/0.2877, allocations: 4.763 MB / 459.1 MB, free: 72.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.2888, allocations: 0.8777 MB / 460 MB, free: 72.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009806/0.2986, allocations: 6.911 MB / 466.9 MB, free: 72.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2986, allocations: 63.59 kB / 467 MB, free: 72.32 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009291/0.2995, allocations: 444.3 kB / 467.4 MB, free: 72.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=284): time 7.444e-06/0.2996, allocations: 0 / 467.4 MB, free: 72.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.03518/0.3347, allocations: 15.34 MB / 482.7 MB, free: 71.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3348, allocations: 92.39 kB / 482.8 MB, free: 71.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/0.3357, allocations: 1.388 MB / 484.2 MB, free: 70.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.3359, allocations: 90.45 kB / 484.3 MB, free: 70.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.3363, allocations: 1.158 MB / 485.5 MB, free: 70.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.3369, allocations: 1.373 MB / 486.8 MB, free: 69.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008246/0.3377, allocations: 0.7612 MB / 487.6 MB, free: 69.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.3378, allocations: 305.1 kB / 487.9 MB, free: 69.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000862/0.3386, allocations: 0.598 MB / 488.5 MB, free: 69.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3398, allocations: 1.604 MB / 490.1 MB, free: 67.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.3424, allocations: 2.847 MB / 493 MB, free: 64.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.3424, allocations: 8 kB / 493 MB, free: 64.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.00735/0.3497, allocations: 3.512 MB / 496.5 MB, free: 61.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.3498, allocations: 17.56 kB / 496.5 MB, free: 61.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.3498, allocations: 28 kB / 496.5 MB, free: 61.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/0.3567, allocations: 2.222 MB / 498.7 MB, free: 59.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.3588, allocations: 0.8818 MB / 499.6 MB, free: 58.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.3692, allocations: 12.86 MB / 0.5005 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.3709, allocations: 129 kB / 0.5006 GB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.3712, allocations: 182.9 kB / 0.5008 GB, free: 45.64 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.0007725/0.372, allocations: 379.3 kB / 0.5011 GB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.3724, allocations: 278.1 kB / 0.5014 GB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006402/0.3788, allocations: 3.721 MB / 0.505 GB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.3788, allocations: 43.94 kB / 0.5051 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3788, allocations: 4 kB / 0.5051 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.3789, allocations: 23.92 kB / 0.5051 GB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.3867, allocations: 5.294 MB / 0.5103 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.3867, allocations: 6.688 kB / 0.5103 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.388, allocations: 0.6428 MB / 0.5109 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005039/0.3931, allocations: 2.004 MB / 0.5129 GB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/0.3934, allocations: 128.8 kB / 0.513 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007547/0.4009, allocations: 12.3 MB / 0.525 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4009, allocations: 7.656 kB / 0.525 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006344/0.4073, allocations: 4.272 MB / 0.5292 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009358/0.4082, allocations: 385 kB / 0.5295 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.4084, allocations: 83.98 kB / 0.5296 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.4092, allocations: 80 kB / 0.5297 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/0.4097, allocations: 354.1 kB / 0.53 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.4098, allocations: 123.9 kB / 0.5301 GB, free: 17.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004218/0.4103, allocations: 0.6207 MB / 0.5308 GB, free: 16.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4103, allocations: 2.625 kB / 0.5308 GB, free: 16.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004348/0.4146, allocations: 2.205 MB / 0.5329 GB, free: 14.52 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.002644/0.4173, allocations: 2.463 MB / 0.5353 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003666/0.4209, allocations: 3.47 MB / 0.5387 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-05/0.421, allocations: 31.84 kB / 0.5387 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.4229, allocations: 2.346 MB / 0.541 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.4242, allocations: 0.6193 MB / 0.5416 GB, free: 6.262 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.005665/0.4299, allocations: 5.562 MB / 0.5471 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4302, allocations: 0.5634 MB / 0.5476 GB, free: 148 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00166/0.4319, allocations: 0.6329 MB / 0.5482 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.4333, allocations: 0.8249 MB / 0.549 GB, free: 14.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4333, allocations: 1.531 kB / 0.549 GB, free: 14.88 MB / 426.7 MB Notification: Performance of Templates: time 0.2228/0.6561, allocations: 97.51 MB / 0.6443 GB, free: 118 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: 5.6659285090863705]