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.001295/0.001295, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001444/0.001444, allocations: 216 kB / 23 MB, free: 4.969 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1576/0.1576, allocations: 23.93 MB / 337.1 MB, free: 10.95 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.002119/0.002119, allocations: 71.89 kB / 472.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 59.88 MB / 0.5199 GB, free: 9.727 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.08108/0.396, allocations: 33.35 MB / 0.5524 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05611/0.4522, allocations: 41.75 MB / 0.5932 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.455, allocations: 47.56 kB / 0.5932 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.4581, allocations: 0.9264 MB / 0.5941 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.4706, allocations: 3.702 MB / 0.5978 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02054/0.4911, allocations: 6.509 MB / 0.6041 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006956/0.4981, allocations: 4.531 MB / 0.6085 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.5013, allocations: 2.246 MB / 0.6107 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.5048, allocations: 2.299 MB / 0.613 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004587/0.5093, allocations: 2.609 MB / 0.6155 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.5105, allocations: 424 kB / 0.6159 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.5271, allocations: 5.156 MB / 0.621 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.5288, allocations: 0.9971 MB / 0.6219 GB, free: 1.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.5314, allocations: 1.728 MB / 0.6236 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02517/0.5565, allocations: 10.2 MB / 0.6336 GB, free: 5.043 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5566, allocations: 4 kB / 0.6336 GB, free: 5.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5566, allocations: 4 kB / 0.6336 GB, free: 5.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.5567, 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.01184/0.5685, allocations: 4.753 MB / 0.6382 GB, free: 228 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5686, allocations: 8.031 kB / 0.6382 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003944/0.5725, allocations: 0.8449 MB / 0.6391 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.5762, allocations: 1.62 MB / 0.6407 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.5765, allocations: 345.7 kB / 0.641 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007475/0.5772, allocations: 336.2 kB / 0.6413 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008216/0.5854, allocations: 4.547 MB / 0.6457 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.146e-05/0.5855, allocations: 4 kB / 0.6457 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/0.5859, allocations: 128 kB / 0.6459 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.5859, allocations: 76 kB / 0.6459 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.5964, allocations: 6.173 MB / 0.652 GB, free: 2.008 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.0263/0.6227, allocations: 11.65 MB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009858/0.6325, allocations: 5.301 MB / 0.6685 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/0.6366, allocations: 2.063 MB / 0.6705 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02245/0.6591, allocations: 9.115 MB / 0.6794 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.6591, allocations: 56.8 kB / 0.6795 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001976/0.6611, allocations: 453.9 kB / 0.6799 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.053e-06/0.6611, allocations: 0 / 0.6799 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09129/0.7524, allocations: 23.35 MB / 0.7027 GB, free: 13.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.7525, allocations: 90.45 kB / 0.7028 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.7548, allocations: 1.641 MB / 0.7044 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006523/0.7555, allocations: 93.7 kB / 0.7045 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.7566, allocations: 1.362 MB / 0.7058 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/0.7582, allocations: 1.375 MB / 0.7072 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.7596, allocations: 0.7836 MB / 0.7079 GB, free: 8.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7597, allocations: 301.1 kB / 0.7082 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.763, allocations: 1.843 MB / 0.71 GB, free: 6.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.7673, allocations: 2.839 MB / 0.7128 GB, free: 2.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008427/0.7758, allocations: 4.979 MB / 0.7177 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/0.7758, allocations: 8 kB / 0.7177 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01972/0.7955, allocations: 6.829 MB / 0.7243 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.7956, allocations: 19.94 kB / 0.7244 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/0.7956, allocations: 28 kB / 0.7244 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.8068, allocations: 2.291 MB / 0.7266 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.8107, allocations: 0.8893 MB / 0.7275 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/1.03, allocations: 17.38 MB / 0.7445 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/1.033, allocations: 137.3 kB / 0.7446 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004689/1.033, allocations: 232.9 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.001404/1.035, allocations: 0.6075 MB / 0.7454 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/1.035, allocations: 279.8 kB / 0.7457 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/1.052, allocations: 6.567 MB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.517e-05/1.052, allocations: 20.16 kB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.052, allocations: 0.6562 kB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.054, allocations: 0.6308 MB / 0.7527 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/1.054, allocations: 80.62 kB / 0.7528 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.056, allocations: 92.06 kB / 0.7529 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007273/1.057, allocations: 355.6 kB / 0.7532 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01388/1.071, allocations: 5.552 MB / 0.7587 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01011/1.081, allocations: 6.799 MB / 0.7653 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002993/1.084, allocations: 1.816 MB / 0.7671 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001443/1.085, allocations: 1.03 MB / 0.7681 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/1.085, allocations: 0 / 0.7681 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.098, allocations: 6.778 MB / 0.7747 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007274/1.105, allocations: 6.61 MB / 0.7812 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.1096/1.215, allocations: 102.8 MB / 0.8816 GB, free: 47.55 MB / 0.5606 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 os._exit(0), Time elapsed: 8.929400880995672] Failed to read output from testmodel.py, exit status != 0: 1.223797658982221 1.2330802 0.674109867 Calling exit ...