Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.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.001345/0.001345, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001818/0.001818, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.1552/0.1552, allocations: 23.89 MB / 337.1 MB, free: 11.29 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.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") [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.002052/0.002052, allocations: 71.89 kB / 472.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3676, allocations: 59.87 MB / 0.5199 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009204/0.3768, allocations: 10.46 MB / 0.5301 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04171/0.4185, allocations: 33.12 MB / 0.5624 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.4206, allocations: 31.56 kB / 0.5625 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.4229, allocations: 0.6965 MB / 0.5631 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008723/0.4316, allocations: 2.664 MB / 0.5658 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.4456, allocations: 4.373 MB / 0.57 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.4513, allocations: 3.018 MB / 0.573 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.4536, allocations: 1.363 MB / 0.5743 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.4564, allocations: 1.483 MB / 0.5757 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.46, allocations: 1.631 MB / 0.5773 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.4607, allocations: 260 kB / 0.5776 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.4744, allocations: 3.666 MB / 0.5812 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.4755, allocations: 0.6153 MB / 0.5818 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.4776, allocations: 1.318 MB / 0.5831 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.4963, allocations: 6.836 MB / 0.5897 GB, free: 2.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4963, allocations: 0 / 0.5897 GB, free: 2.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4963, allocations: 0 / 0.5897 GB, free: 2.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.09e-05/0.4964, allocations: 0 / 0.5897 GB, free: 2.238 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007233/0.5036, allocations: 3.237 MB / 0.5929 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5037, allocations: 8.031 kB / 0.5929 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.5064, allocations: 0.588 MB / 0.5935 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.5088, allocations: 1.081 MB / 0.5945 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.5089, allocations: 156.6 kB / 0.5947 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000442/0.5094, allocations: 224.3 kB / 0.5949 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006746/0.5161, allocations: 2.81 MB / 0.5976 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.5162, allocations: 3.938 kB / 0.5976 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.5164, allocations: 88 kB / 0.5977 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/0.5165, allocations: 52 kB / 0.5978 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006488/0.523, allocations: 3.827 MB / 0.6015 GB, free: 5.988 MB / 446.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.01651/0.5395, allocations: 8.3 MB / 0.6096 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006124/0.5456, allocations: 3.322 MB / 0.6129 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.5474, allocations: 0.9114 MB / 0.6138 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.5593, allocations: 4.98 MB / 0.6186 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.5593, allocations: 47.86 kB / 0.6187 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007182/0.56, allocations: 182.6 kB / 0.6188 GB, free: 3.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 5.23e-06/0.5601, allocations: 7.984 kB / 0.6188 GB, free: 3.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02993/0.59, allocations: 6.185 MB / 0.6249 GB, free: 13.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.5901, allocations: 69.41 kB / 0.625 GB, free: 13.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.5924, allocations: 1.691 MB / 0.6266 GB, free: 11.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.5926, allocations: 57.64 kB / 0.6267 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008531/0.5934, allocations: 1.077 MB / 0.6277 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006054/0.594, allocations: 0.6198 MB / 0.6283 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006967/0.5947, allocations: 484.8 kB / 0.6288 GB, free: 9.613 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5949, allocations: 301.1 kB / 0.6291 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.5963, allocations: 0.8014 MB / 0.6298 GB, free: 8.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.5984, allocations: 1.608 MB / 0.6314 GB, free: 6.539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/0.602, allocations: 2.428 MB / 0.6338 GB, free: 3.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.602, allocations: 8 kB / 0.6338 GB, free: 3.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008762/0.6108, allocations: 3.156 MB / 0.6369 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.6108, allocations: 16 kB / 0.6369 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/0.6109, allocations: 28 kB / 0.6369 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/0.6147, allocations: 487.1 kB / 0.6374 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.6168, allocations: 0.5889 MB / 0.638 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.6283, allocations: 7.297 MB / 0.6451 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.6302, allocations: 83.98 kB / 0.6452 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.6305, allocations: 139.9 kB / 0.6453 GB, free: 7.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008943/0.6314, allocations: 424.9 kB / 0.6457 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.6318, allocations: 178.9 kB / 0.6459 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007882/0.6397, allocations: 2.396 MB / 0.6482 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.6397, allocations: 23.98 kB / 0.6482 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6397, allocations: 0 / 0.6482 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.6397, allocations: 11.91 kB / 0.6483 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.6427, allocations: 1.838 MB / 0.65 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.6427, allocations: 0 / 0.65 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.6441, allocations: 347.8 kB / 0.6504 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/0.648, allocations: 458.9 kB / 0.6508 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.6482, allocations: 55.97 kB / 0.6509 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.6589, allocations: 7.122 MB / 0.6578 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6589, allocations: 0 / 0.6578 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008625/0.6675, allocations: 3.008 MB / 0.6608 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.6681, allocations: 166.9 kB / 0.6609 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.6683, allocations: 39.98 kB / 0.661 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/0.6692, allocations: 40 kB / 0.661 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.6695, allocations: 161.7 kB / 0.6612 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.6697, allocations: 75.97 kB / 0.6612 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001567/0.6713, allocations: 1.145 MB / 0.6623 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6713, allocations: 0 / 0.6623 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004228/0.6755, allocations: 1.383 MB / 0.6637 GB, free: 4.008 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0032/0.6787, allocations: 1.54 MB / 0.6652 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004702/0.6834, allocations: 2.403 MB / 0.6675 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.6834, allocations: 0 / 0.6675 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.6856, allocations: 1.269 MB / 0.6688 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.6874, allocations: 360.9 kB / 0.6691 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.694, allocations: 3.695 MB / 0.6727 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.6952, allocations: 1.378 MB / 0.6741 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.6962, allocations: 378.4 kB / 0.6744 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/0.6962, allocations: 4 kB / 0.6744 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of Templates: time 0.3189/1.015, allocations: 67.39 MB / 0.7403 GB, free: 178.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.322433477995219] Failed to read output from testmodel.py, exit status != 0: 1.0250049970054533 1.037169441 0.53779263 Calling exit ...