Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001839/0.001839, 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.002321/0.002321, allocations: 215.7 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1356/0.1356, allocations: 23.89 MB / 337.1 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002068/0.002068, allocations: 70.86 kB / 472.4 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2978, allocations: 59.86 MB / 0.5197 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008871/0.3066, allocations: 9.117 MB / 0.5286 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03934/0.346, allocations: 28.97 MB / 0.5569 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3481, allocations: 32.09 kB / 0.557 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.3506, allocations: 0.6297 MB / 0.5576 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008958/0.3595, allocations: 2.624 MB / 0.5601 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.3723, allocations: 4.366 MB / 0.5644 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004928/0.3772, allocations: 3.024 MB / 0.5674 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.3792, allocations: 1.334 MB / 0.5687 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.3816, allocations: 1.485 MB / 0.5701 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.3843, allocations: 1.463 MB / 0.5715 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.3849, allocations: 264 kB / 0.5718 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.3961, allocations: 3.424 MB / 0.5751 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.3971, allocations: 0.6154 MB / 0.5757 GB, free: 252 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.399, allocations: 1.128 MB / 0.5768 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01702/0.4161, allocations: 6.809 MB / 0.5835 GB, free: 8.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4161, allocations: 0 / 0.5835 GB, free: 8.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4161, allocations: 0 / 0.5835 GB, free: 8.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.685e-05/0.4161, allocations: 0 / 0.5835 GB, free: 8.277 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.006521/0.4227, allocations: 3.227 MB / 0.5866 GB, free: 4.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4227, allocations: 8.031 kB / 0.5867 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.4252, allocations: 0.5843 MB / 0.5872 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.4275, allocations: 1.073 MB / 0.5883 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.4277, allocations: 160.6 kB / 0.5884 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/0.4281, allocations: 216.3 kB / 0.5886 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/0.4329, allocations: 2.814 MB / 0.5914 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.4329, allocations: 7.938 kB / 0.5914 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.4332, allocations: 88.05 kB / 0.5915 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.4332, allocations: 48 kB / 0.5915 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00615/0.4394, allocations: 3.792 MB / 0.5952 GB, free: 12.08 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.01452/0.4539, allocations: 6.721 MB / 0.6018 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00631/0.4602, allocations: 3.262 MB / 0.605 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.4619, allocations: 0.9114 MB / 0.6059 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.4746, allocations: 4.682 MB / 0.6104 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.4746, allocations: 47.86 kB / 0.6105 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007262/0.4754, allocations: 170.8 kB / 0.6106 GB, free: 12.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 6.182e-06/0.4754, allocations: 0 / 0.6106 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.0297/0.5051, allocations: 6.177 MB / 0.6167 GB, free: 5.914 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.5051, allocations: 73.34 kB / 0.6167 GB, free: 5.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.5075, allocations: 1.638 MB / 0.6183 GB, free: 4.172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.5077, allocations: 57.64 kB / 0.6184 GB, free: 4.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/0.5086, allocations: 1.081 MB / 0.6195 GB, free: 3.016 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007437/0.5094, allocations: 0.6276 MB / 0.6201 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008523/0.5102, allocations: 484.8 kB / 0.6205 GB, free: 1.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5104, allocations: 301.1 kB / 0.6208 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.5119, allocations: 0.8053 MB / 0.6216 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.5142, allocations: 1.608 MB / 0.6232 GB, free: 14.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003872/0.5181, allocations: 2.421 MB / 0.6255 GB, free: 12.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-05/0.5181, allocations: 8 kB / 0.6255 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008933/0.527, allocations: 3.144 MB / 0.6286 GB, free: 8.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.5271, allocations: 16.16 kB / 0.6286 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/0.5271, allocations: 31.94 kB / 0.6287 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/0.5309, allocations: 482.9 kB / 0.6291 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.5331, allocations: 0.5889 MB / 0.6297 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.5447, allocations: 7.154 MB / 0.6367 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5466, allocations: 88.05 kB / 0.6368 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/0.547, allocations: 144 kB / 0.6369 GB, free: 15.96 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.001063/0.5481, allocations: 417.7 kB / 0.6373 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.5486, allocations: 170.8 kB / 0.6375 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008044/0.5567, allocations: 2.384 MB / 0.6398 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.5567, allocations: 20 kB / 0.6398 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.5567, allocations: 8 kB / 0.6398 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.5567, allocations: 11.95 kB / 0.6398 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.5596, allocations: 1.367 MB / 0.6412 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.5596, allocations: 4 kB / 0.6412 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.561, allocations: 347.8 kB / 0.6415 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003695/0.5647, allocations: 458.8 kB / 0.6419 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.5649, allocations: 59.98 kB / 0.642 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.5756, allocations: 6.968 MB / 0.6488 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.5756, allocations: 8.016 kB / 0.6488 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009012/0.5846, allocations: 2.992 MB / 0.6517 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.5852, allocations: 154.8 kB / 0.6519 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.5855, allocations: 39.98 kB / 0.6519 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5866, allocations: 40.08 kB / 0.652 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/0.587, allocations: 157.7 kB / 0.6521 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.5872, allocations: 71.97 kB / 0.6522 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001637/0.5888, allocations: 1.072 MB / 0.6532 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5888, allocations: 0 / 0.6532 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004786/0.5936, allocations: 1.383 MB / 0.6546 GB, free: 13.3 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.003808/0.5974, allocations: 1.538 MB / 0.6561 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004956/0.6024, allocations: 2.399 MB / 0.6584 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6024, allocations: 0.9375 kB / 0.6584 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/0.6047, allocations: 1.264 MB / 0.6596 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.6069, allocations: 351.4 kB / 0.66 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007506/0.6144, allocations: 3.698 MB / 0.6636 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.6156, allocations: 0.8138 MB / 0.6644 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.6167, allocations: 378.4 kB / 0.6648 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.6167, allocations: 0 / 0.6648 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.299/0.9157, allocations: 67.96 MB / 0.7311 GB, free: 178.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.717952502891421] Failed to read output from testmodel.py, exit status != 0: 0.9252508799545467 0.93674447 0.517758962 Calling exit ...