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.001343/0.001343, allocations: 81.27 kB / 19.18 MB, free: 2.531 MB / 14.72 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.00168/0.00168, allocations: 162.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1281/0.1281, allocations: 17.46 MB / 276.6 MB, free: 15.22 MB / 270.1 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.242e-06/1.242e-06, allocations: 0 / 412.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.521e-05, allocations: 6.219 kB / 412.1 MB, free: 4.262 MB / 334.1 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.04238/0.04241, allocations: 33.66 MB / 445.8 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1997/0.2421, allocations: 41.75 MB / 487.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.244, allocations: 49.84 kB / 487.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.2465, allocations: 0.9404 MB / 488.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009648/0.2562, allocations: 3.831 MB / 492.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.2723, allocations: 6.679 MB / 499 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005881/0.2782, allocations: 4.687 MB / 0.4919 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.2816, allocations: 2.237 MB / 0.4941 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.2868, allocations: 3.144 MB / 0.4972 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/0.2908, allocations: 2.11 MB / 0.4992 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009335/0.2917, allocations: 420 kB / 0.4996 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.3066, allocations: 5.072 MB / 0.5046 GB, free: 64 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.308, allocations: 0.997 MB / 0.5056 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003036/0.311, allocations: 1.501 MB / 0.507 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02484/0.3358, allocations: 10.9 MB / 0.5177 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3358, allocations: 2.562 kB / 0.5177 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3358, allocations: 0 / 0.5177 GB, free: 2.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001538/0.336, allocations: 0 / 0.5177 GB, free: 2.617 MB / 398.1 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.01211/0.3481, allocations: 4.722 MB / 0.5223 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3481, allocations: 8.031 kB / 0.5223 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.3527, allocations: 0.859 MB / 0.5231 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.3563, allocations: 1.611 MB / 0.5247 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.3566, allocations: 349.7 kB / 0.525 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009141/0.3575, allocations: 328.3 kB / 0.5253 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.3676, allocations: 4.55 MB / 0.5298 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/0.3677, allocations: 8.125 kB / 0.5298 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005613/0.3683, allocations: 124.4 kB / 0.5299 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/0.3683, allocations: 79.94 kB / 0.53 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.3797, allocations: 6.169 MB / 0.536 GB, free: 15.67 MB / 430.1 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.02564/0.4053, allocations: 11.65 MB / 0.5474 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.4155, allocations: 5.317 MB / 0.5526 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/0.4193, allocations: 2.059 MB / 0.5546 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0233/0.4426, allocations: 9.105 MB / 0.5635 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/0.4426, allocations: 64.73 kB / 0.5635 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002487/0.4451, allocations: 450 kB / 0.564 GB, free: 3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=284): time 1.183e-05/0.4451, allocations: 0 / 0.564 GB, free: 3 MB / 446.1 MB Notification: Performance of matching and sorting (n=387): time 0.09914/0.5443, allocations: 23.36 MB / 0.5868 GB, free: 11.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.5444, allocations: 90.45 kB / 0.5869 GB, free: 11.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.5468, allocations: 1.633 MB / 0.5885 GB, free: 10.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004784/0.5473, allocations: 89.7 kB / 0.5886 GB, free: 9.969 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.5484, allocations: 1.359 MB / 0.5899 GB, free: 8.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.55, allocations: 1.358 MB / 0.5912 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.5515, allocations: 0.7759 MB / 0.592 GB, free: 6.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5516, allocations: 305.1 kB / 0.5923 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/0.5551, allocations: 1.839 MB / 0.5941 GB, free: 4.293 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.5595, allocations: 2.843 MB / 0.5968 GB, free: 1.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008581/0.5681, allocations: 4.97 MB / 0.6017 GB, free: 11.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/0.5681, allocations: 8 kB / 0.6017 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02093/0.589, allocations: 6.835 MB / 0.6084 GB, free: 4.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.5891, allocations: 16 kB / 0.6084 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-05/0.5891, allocations: 32 kB / 0.6084 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.6012, allocations: 2.284 MB / 0.6106 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.6051, allocations: 0.8932 MB / 0.6115 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2009/0.806, allocations: 17.37 MB / 0.6285 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.8093, allocations: 138.5 kB / 0.6286 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004559/0.8097, allocations: 239.8 kB / 0.6288 GB, free: 161.9 MB / 0.4981 GB 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.001313/0.811, allocations: 0.603 MB / 0.6294 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006268/0.8117, allocations: 272.7 kB / 0.6297 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/0.8294, allocations: 6.576 MB / 0.6361 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.8294, allocations: 42.22 kB / 0.6362 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.8295, allocations: 5.922 kB / 0.6362 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.747e-05/0.8295, allocations: 22.67 kB / 0.6362 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/0.8529, allocations: 9.753 MB / 0.6457 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.8529, allocations: 4.875 kB / 0.6457 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/0.8559, allocations: 0.6582 MB / 0.6464 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009697/0.8656, allocations: 2.011 MB / 0.6483 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004418/0.866, allocations: 137.6 kB / 0.6484 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/0.8856, allocations: 16.01 MB / 0.6641 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8856, allocations: 7.688 kB / 0.6641 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/0.9051, allocations: 8.491 MB / 0.6724 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/0.9067, allocations: 0.6269 MB / 0.673 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006064/0.9073, allocations: 82.69 kB / 0.6731 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.9095, allocations: 106.3 kB / 0.6732 GB, free: 139 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007734/0.9102, allocations: 349.4 kB / 0.6735 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/0.9106, allocations: 162.6 kB / 0.6737 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001147/0.9118, allocations: 1.033 MB / 0.6747 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.9118, allocations: 0 / 0.6747 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005921/0.9177, allocations: 2.198 MB / 0.6768 GB, free: 136 MB / 0.4981 GB 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.004603/0.9223, allocations: 2.34 MB / 0.6791 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009696/0.932, allocations: 5.59 MB / 0.6846 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.932, allocations: 0 / 0.6846 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005713/0.9377, allocations: 3.35 MB / 0.6878 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.9408, allocations: 0.5379 MB / 0.6884 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.9518, allocations: 6.574 MB / 0.6948 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.953, allocations: 1.334 MB / 0.6961 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003051/0.9561, allocations: 0.6573 MB / 0.6967 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.9574, allocations: 456.1 kB / 0.6972 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/0.9574, allocations: 3.828 kB / 0.6972 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.09937/1.057, allocations: 86.09 MB / 0.7812 GB, free: 30.64 MB / 0.4981 GB " [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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.145020239055157] Failed to read output from testmodel.py, exit status != 0: 1.065138828009367 1.074553789 0.7364042110000001 Calling exit ...