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.001316/0.001316, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001458/0.001458, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.812 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.1336/0.1336, allocations: 23.99 MB / 336.4 MB, free: 10.87 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.002035/0.002035, allocations: 63.91 kB / 471.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 59.89 MB / 0.5192 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008893/0.3246, allocations: 9.1 MB / 0.5281 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03959/0.3642, allocations: 28.99 MB / 0.5564 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.3662, allocations: 35.12 kB / 0.5564 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.3685, allocations: 0.6239 MB / 0.557 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009145/0.3777, allocations: 2.619 MB / 0.5596 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01645/0.3941, allocations: 4.373 MB / 0.5639 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005027/0.3992, allocations: 3.02 MB / 0.5668 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.4015, allocations: 1.343 MB / 0.5681 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.4042, allocations: 1.488 MB / 0.5696 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.4071, allocations: 1.459 MB / 0.571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008082/0.4079, allocations: 264 kB / 0.5713 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.4186, allocations: 3.428 MB / 0.5746 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009879/0.4195, allocations: 0.6115 MB / 0.5752 GB, free: 84 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.4218, allocations: 1.132 MB / 0.5763 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.4376, allocations: 6.801 MB / 0.583 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4376, allocations: 0 / 0.583 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4376, allocations: 4 kB / 0.583 GB, free: 8.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.4378, allocations: 0 / 0.583 GB, free: 8.113 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.007701/0.4455, allocations: 3.219 MB / 0.5861 GB, free: 4.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4455, allocations: 12.03 kB / 0.5861 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.4485, allocations: 0.5841 MB / 0.5867 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.4515, allocations: 1.077 MB / 0.5877 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4517, allocations: 156.6 kB / 0.5879 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006208/0.4523, allocations: 220.3 kB / 0.5881 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/0.4584, allocations: 2.826 MB / 0.5909 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/0.4584, allocations: 0 / 0.5909 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.4588, allocations: 84 kB / 0.5909 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.4588, allocations: 52 kB / 0.591 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006777/0.4656, allocations: 3.788 MB / 0.5947 GB, free: 11.91 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.01605/0.4816, allocations: 6.722 MB / 0.6012 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006335/0.488, allocations: 3.258 MB / 0.6044 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.4896, allocations: 0.9114 MB / 0.6053 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.5014, allocations: 4.675 MB / 0.6099 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.5014, allocations: 51.81 kB / 0.6099 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006812/0.5021, allocations: 174.8 kB / 0.6101 GB, free: 11.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.959e-06/0.5021, allocations: 0 / 0.6101 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02872/0.5308, allocations: 6.182 MB / 0.6161 GB, free: 5.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.5309, allocations: 69.41 kB / 0.6162 GB, free: 5.668 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.5335, allocations: 1.63 MB / 0.6178 GB, free: 4.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.5337, allocations: 53.7 kB / 0.6178 GB, free: 3.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009757/0.5346, allocations: 1.093 MB / 0.6189 GB, free: 2.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000655/0.5353, allocations: 0.6237 MB / 0.6195 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007677/0.5361, allocations: 472.9 kB / 0.62 GB, free: 1.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5362, allocations: 301.1 kB / 0.6203 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.5377, allocations: 0.8092 MB / 0.6211 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.54, allocations: 1.616 MB / 0.6226 GB, free: 14.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/0.5438, allocations: 2.424 MB / 0.625 GB, free: 11.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.36e-05/0.5439, allocations: 8 kB / 0.625 GB, free: 11.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008713/0.5526, allocations: 3.144 MB / 0.6281 GB, free: 8.711 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.5526, allocations: 20.16 kB / 0.6281 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/0.5526, allocations: 24 kB / 0.6281 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/0.5564, allocations: 486.9 kB / 0.6286 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.5585, allocations: 0.585 MB / 0.6292 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.5701, allocations: 7.161 MB / 0.6361 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.572, allocations: 88.12 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/0.5725, allocations: 136 kB / 0.6364 GB, free: 15.81 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.001103/0.5736, allocations: 417.5 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005651/0.5742, allocations: 170.9 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007958/0.5821, allocations: 2.384 MB / 0.6392 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.5821, allocations: 27.94 kB / 0.6393 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.5821, allocations: 4 kB / 0.6393 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.5822, allocations: 7.969 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.5849, allocations: 1.387 MB / 0.6406 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.5849, allocations: 0 / 0.6406 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.5862, allocations: 347.8 kB / 0.641 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003637/0.5899, allocations: 454.9 kB / 0.6414 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.59, allocations: 59.97 kB / 0.6415 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.6005, allocations: 6.968 MB / 0.6483 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6005, allocations: 0 / 0.6483 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008535/0.609, allocations: 2.995 MB / 0.6512 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004728/0.6095, allocations: 159 kB / 0.6513 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.6099, allocations: 40 kB / 0.6514 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.6109, allocations: 40.17 kB / 0.6514 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.6112, allocations: 149.5 kB / 0.6516 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.6114, allocations: 80.05 kB / 0.6516 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001561/0.6129, allocations: 1.083 MB / 0.6527 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6129, allocations: 0 / 0.6527 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004172/0.6171, allocations: 1.383 MB / 0.654 GB, free: 13.13 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.003361/0.6204, allocations: 1.533 MB / 0.6555 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004611/0.6251, allocations: 2.391 MB / 0.6579 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6251, allocations: 0.9375 kB / 0.6579 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.6273, allocations: 1.271 MB / 0.6591 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.6292, allocations: 359.8 kB / 0.6595 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.6359, allocations: 3.63 MB / 0.663 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.6369, allocations: 0.8099 MB / 0.6638 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001653/0.6386, allocations: 428.8 kB / 0.6642 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.6392, allocations: 286.7 kB / 0.6645 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.6392, allocations: 0 / 0.6645 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.07595/0.7152, allocations: 49.51 MB / 0.7128 GB, free: 1.051 MB / 0.545 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: 6.7535520028322935] Failed to read output from testmodel.py, exit status != 0: 0.7251401171088219 0.73920223 0.29821752 Calling exit ...