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.001578/0.001578, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.00148/0.00148, allocations: 215.8 kB / 23 MB, free: 4.953 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.1416/0.1416, allocations: 23.92 MB / 337.1 MB, free: 11.04 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.91 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 59.88 MB / 0.5198 GB, free: 9.695 MB / 382.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.08194/0.4055, allocations: 33.35 MB / 0.5524 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06024/0.4657, allocations: 41.76 MB / 0.5932 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.4688, allocations: 51.56 kB / 0.5932 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003632/0.4724, allocations: 0.9265 MB / 0.5941 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.4854, allocations: 3.702 MB / 0.5978 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01941/0.5048, allocations: 6.505 MB / 0.6041 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007862/0.5127, allocations: 4.528 MB / 0.6085 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003924/0.5166, allocations: 2.258 MB / 0.6107 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.5209, allocations: 2.284 MB / 0.613 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/0.526, allocations: 2.621 MB / 0.6155 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.5275, allocations: 420 kB / 0.6159 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.5437, allocations: 5.152 MB / 0.621 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.5457, allocations: 1.001 MB / 0.6219 GB, free: 1.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.549, allocations: 1.732 MB / 0.6236 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02522/0.5742, allocations: 10.2 MB / 0.6336 GB, free: 5.039 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5742, allocations: 0 / 0.6336 GB, free: 5.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5742, allocations: 4 kB / 0.6336 GB, free: 5.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.5744, allocations: 0 / 0.6336 GB, free: 5.035 MB / 478.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.0128/0.5872, allocations: 4.75 MB / 0.6382 GB, free: 232 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5872, allocations: 8.031 kB / 0.6382 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.5916, allocations: 0.8527 MB / 0.6391 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.5958, allocations: 1.612 MB / 0.6406 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/0.5962, allocations: 345.7 kB / 0.641 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.5974, allocations: 336.2 kB / 0.6413 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009969/0.6074, allocations: 4.547 MB / 0.6457 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.82e-05/0.6074, allocations: 4 kB / 0.6457 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003929/0.6078, allocations: 128 kB / 0.6459 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.6079, allocations: 76 kB / 0.6459 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.6198, allocations: 6.173 MB / 0.652 GB, free: 2.012 MB / 494.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.03032/0.6502, allocations: 11.65 MB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.6609, allocations: 5.313 MB / 0.6685 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/0.6655, allocations: 2.056 MB / 0.6705 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02336/0.6889, allocations: 9.111 MB / 0.6794 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.6889, allocations: 60.78 kB / 0.6795 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002015/0.6909, allocations: 450 kB / 0.6799 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.075e-05/0.6909, allocations: 0 / 0.6799 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.0916/0.7825, allocations: 23.35 MB / 0.7027 GB, free: 13.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.7826, allocations: 90.45 kB / 0.7028 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.785, allocations: 1.633 MB / 0.7044 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000713/0.7857, allocations: 89.7 kB / 0.7045 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.7869, allocations: 1.366 MB / 0.7058 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/0.7887, allocations: 1.371 MB / 0.7072 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.7902, allocations: 0.7837 MB / 0.7079 GB, free: 8.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7903, allocations: 309.1 kB / 0.7082 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/0.7937, allocations: 1.839 MB / 0.71 GB, free: 6.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/0.7983, allocations: 2.843 MB / 0.7128 GB, free: 2.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009068/0.8074, allocations: 4.971 MB / 0.7177 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/0.8074, allocations: 11.94 kB / 0.7177 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0195/0.8269, allocations: 6.833 MB / 0.7243 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.827, allocations: 16 kB / 0.7244 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.187e-05/0.827, allocations: 39.92 kB / 0.7244 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.8382, allocations: 2.282 MB / 0.7266 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.8422, allocations: 0.8932 MB / 0.7275 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2536/1.096, allocations: 17.39 MB / 0.7445 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/1.099, allocations: 140 kB / 0.7446 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007137/1.1, allocations: 234.3 kB / 0.7448 GB, free: 162.1 MB / 0.5606 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.001611/1.101, allocations: 0.6 MB / 0.7454 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007958/1.102, allocations: 278.2 kB / 0.7457 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.12, allocations: 6.568 MB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/1.12, allocations: 41.97 kB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.565e-05/1.12, allocations: 6.188 kB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.12, allocations: 23.53 kB / 0.7522 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.143, allocations: 9.76 MB / 0.7617 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/1.143, allocations: 4.25 kB / 0.7617 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.147, allocations: 0.652 MB / 0.7623 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008881/1.156, allocations: 2.013 MB / 0.7643 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008607/1.156, allocations: 134.2 kB / 0.7644 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/1.175, allocations: 16.03 MB / 0.7801 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.175, allocations: 7.578 kB / 0.7801 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/1.193, allocations: 8.5 MB / 0.7884 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/1.195, allocations: 0.6302 MB / 0.789 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/1.196, allocations: 80.5 kB / 0.7891 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.198, allocations: 95.45 kB / 0.7892 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006583/1.198, allocations: 356.5 kB / 0.7895 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/1.199, allocations: 162.8 kB / 0.7897 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001077/1.2, allocations: 1.036 MB / 0.7907 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.2, allocations: 0 / 0.7907 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006051/1.206, allocations: 2.195 MB / 0.7928 GB, free: 135.7 MB / 0.5606 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.004097/1.21, allocations: 2.261 MB / 0.795 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009662/1.219, allocations: 5.602 MB / 0.8005 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.219, allocations: 7.938 kB / 0.8005 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006291/1.226, allocations: 3.348 MB / 0.8038 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/1.229, allocations: 0.5359 MB / 0.8043 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.239, allocations: 6.827 MB / 0.811 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.24, allocations: 1.334 MB / 0.8123 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.242, allocations: 0.5524 MB / 0.8128 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.242, allocations: 0 / 0.8128 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.3749/1.617, allocations: 170.9 MB / 0.9797 GB, free: 191.9 MB / 0.5919 GB " [Timeout remaining time 658] 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: 15.934423475991935] Failed to read output from testmodel.py, exit status != 0: 1.6265252599841915 1.637334984 1.060468813 Calling exit ...