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.001349/0.001349, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00147/0.00147, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1347/0.1347, allocations: 23.99 MB / 337.2 MB, free: 10.86 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.00209/0.00209, allocations: 63.91 kB / 472.5 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 59.89 MB / 0.52 GB, free: 9.766 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.07677/0.3766, allocations: 33.44 MB / 0.5526 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05718/0.4338, allocations: 41.75 MB / 0.5934 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.4366, allocations: 51.56 kB / 0.5934 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.4397, allocations: 0.9265 MB / 0.5943 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.4512, allocations: 3.709 MB / 0.598 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01769/0.4689, allocations: 6.497 MB / 0.6043 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007382/0.4763, allocations: 4.535 MB / 0.6087 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.4797, allocations: 2.207 MB / 0.6109 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.4835, allocations: 2.284 MB / 0.6131 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004658/0.4882, allocations: 2.343 MB / 0.6154 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.4895, allocations: 420 kB / 0.6158 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/0.5038, allocations: 5.035 MB / 0.6207 GB, free: 2.219 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.5054, allocations: 0.9854 MB / 0.6217 GB, free: 1.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.5085, allocations: 1.735 MB / 0.6234 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02204/0.5305, allocations: 10.2 MB / 0.6334 GB, free: 5.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5306, allocations: 0 / 0.6334 GB, free: 5.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5306, allocations: 0 / 0.6334 GB, free: 5.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001444/0.5307, allocations: 0 / 0.6334 GB, free: 5.246 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.01174/0.5424, allocations: 4.754 MB / 0.638 GB, free: 444 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5425, allocations: 12.03 kB / 0.638 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.5465, allocations: 0.8413 MB / 0.6388 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/0.5505, allocations: 1.62 MB / 0.6404 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.5508, allocations: 353.6 kB / 0.6407 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009233/0.5518, allocations: 336.2 kB / 0.6411 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008952/0.5607, allocations: 4.547 MB / 0.6455 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.5608, allocations: 0 / 0.6455 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.5611, allocations: 128 kB / 0.6456 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/0.5612, allocations: 76 kB / 0.6457 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.5722, allocations: 6.173 MB / 0.6517 GB, free: 2.211 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.02641/0.5986, allocations: 11.64 MB / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009826/0.6085, allocations: 5.317 MB / 0.6683 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/0.6123, allocations: 2.059 MB / 0.6703 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02122/0.6335, allocations: 9.111 MB / 0.6792 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.6336, allocations: 56.8 kB / 0.6793 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002008/0.6356, allocations: 457.9 kB / 0.6797 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.294e-06/0.6356, allocations: 0 / 0.6797 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09157/0.7271, allocations: 23.35 MB / 0.7025 GB, free: 13.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.7272, allocations: 90.45 kB / 0.7026 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.7295, allocations: 1.637 MB / 0.7042 GB, free: 12.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006623/0.7302, allocations: 85.7 kB / 0.7043 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.7313, allocations: 1.366 MB / 0.7056 GB, free: 10.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/0.7329, allocations: 1.375 MB / 0.7069 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.7342, allocations: 0.7759 MB / 0.7077 GB, free: 8.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7344, allocations: 301.1 kB / 0.708 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/0.7378, allocations: 1.839 MB / 0.7098 GB, free: 6.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00452/0.7423, allocations: 2.85 MB / 0.7126 GB, free: 3.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00898/0.7513, allocations: 4.975 MB / 0.7174 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/0.7513, allocations: 11.94 kB / 0.7174 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0203/0.7716, allocations: 6.833 MB / 0.7241 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.7717, allocations: 16 kB / 0.7241 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.337e-05/0.7717, allocations: 31.94 kB / 0.7241 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.783, allocations: 2.283 MB / 0.7264 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/0.7868, allocations: 0.901 MB / 0.7273 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2443/1.031, allocations: 17.38 MB / 0.7442 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/1.034, allocations: 139.3 kB / 0.7444 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007296/1.035, allocations: 230.8 kB / 0.7446 GB, free: 162.7 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.001689/1.037, allocations: 0.6041 MB / 0.7452 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008617/1.038, allocations: 275.5 kB / 0.7454 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/1.055, allocations: 6.572 MB / 0.7519 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/1.055, allocations: 43.97 kB / 0.7519 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/1.055, allocations: 4.25 kB / 0.7519 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/1.055, allocations: 22.08 kB / 0.7519 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/1.079, allocations: 9.756 MB / 0.7615 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/1.079, allocations: 3.812 kB / 0.7615 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.082, allocations: 0.6532 MB / 0.7621 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009063/1.091, allocations: 2.013 MB / 0.7641 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007907/1.092, allocations: 136.5 kB / 0.7642 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.11, allocations: 16.02 MB / 0.7798 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.11, allocations: 8.438 kB / 0.7798 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.128, allocations: 8.5 MB / 0.7881 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.129, allocations: 0.6241 MB / 0.7888 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/1.13, allocations: 92.86 kB / 0.7888 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.132, allocations: 99.3 kB / 0.7889 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006193/1.133, allocations: 355 kB / 0.7893 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/1.133, allocations: 153 kB / 0.7894 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00108/1.134, allocations: 1.037 MB / 0.7904 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.134, allocations: 0 / 0.7904 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005404/1.139, allocations: 2.197 MB / 0.7926 GB, free: 136.5 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.003645/1.143, allocations: 2.256 MB / 0.7948 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008957/1.152, allocations: 5.613 MB / 0.8003 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.152, allocations: 0 / 0.8003 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005246/1.157, allocations: 3.355 MB / 0.8035 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/1.16, allocations: 0.5353 MB / 0.8041 GB, free: 125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009888/1.17, allocations: 6.833 MB / 0.8107 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.171, allocations: 1.329 MB / 0.812 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/1.172, allocations: 0.5537 MB / 0.8126 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/1.172, allocations: 0 / 0.8126 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.3489/1.521, allocations: 170.9 MB / 0.9795 GB, free: 192.4 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.699985770974308] Failed to read output from testmodel.py, exit status != 0: 1.5304698529653251 1.540686325 1.007630007 Calling exit ...