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.001879/0.001879, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002156/0.002156, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.1387/0.1387, allocations: 23.89 MB / 332.7 MB, free: 12.32 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) [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.002125/0.002125, allocations: 60.14 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 59.83 MB / 0.5135 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009085/0.3361, allocations: 10.41 MB / 0.5237 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04224/0.3784, allocations: 33.05 MB / 0.556 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.3808, allocations: 36.66 kB / 0.556 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.3835, allocations: 0.6854 MB / 0.5567 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.3951, allocations: 2.643 MB / 0.5593 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.4101, allocations: 4.322 MB / 0.5635 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005219/0.4153, allocations: 3.022 MB / 0.5664 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.4177, allocations: 1.362 MB / 0.5678 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.4204, allocations: 1.481 MB / 0.5692 GB, free: 228 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.4237, allocations: 1.631 MB / 0.5708 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008167/0.4245, allocations: 263.8 kB / 0.5711 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/0.438, allocations: 3.66 MB / 0.5746 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.4391, allocations: 0.6075 MB / 0.5752 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.4419, allocations: 1.33 MB / 0.5765 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.4609, allocations: 6.84 MB / 0.5832 GB, free: 3.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4609, allocations: 0 / 0.5832 GB, free: 3.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4609, allocations: 0 / 0.5832 GB, free: 3.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.461, allocations: 0 / 0.5832 GB, free: 3.586 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.008736/0.4698, allocations: 3.302 MB / 0.5864 GB, free: 216 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4698, allocations: 11.97 kB / 0.5864 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006865/0.4705, allocations: 299.8 kB / 0.5867 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.4734, allocations: 0.5841 MB / 0.5873 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.4758, allocations: 1.147 MB / 0.5884 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.476, allocations: 160.6 kB / 0.5886 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005632/0.4766, allocations: 216.3 kB / 0.5888 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/0.4824, allocations: 2.794 MB / 0.5915 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.4824, allocations: 3.938 kB / 0.5915 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.4827, allocations: 88 kB / 0.5916 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.4827, allocations: 48 kB / 0.5916 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/0.489, allocations: 3.796 MB / 0.5953 GB, free: 6.918 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.01523/0.5042, allocations: 8.348 MB / 0.6035 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.5103, allocations: 3.849 MB / 0.6073 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.512, allocations: 0.9123 MB / 0.6081 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.015/0.527, allocations: 9.235 MB / 0.6172 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.527, allocations: 51.86 kB / 0.6172 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007603/0.5278, allocations: 186.6 kB / 0.6174 GB, free: 14.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 6.653e-06/0.5278, allocations: 0 / 0.6174 GB, free: 14.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=170): time 0.02961/0.5574, allocations: 6.411 MB / 0.6237 GB, free: 8.305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.5575, allocations: 69.41 kB / 0.6237 GB, free: 8.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.5599, allocations: 1.668 MB / 0.6253 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.5601, allocations: 53.7 kB / 0.6254 GB, free: 6.484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/0.5609, allocations: 1.077 MB / 0.6264 GB, free: 5.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006692/0.5616, allocations: 0.6159 MB / 0.627 GB, free: 4.773 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.5625, allocations: 480.8 kB / 0.6275 GB, free: 4.297 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5626, allocations: 309.1 kB / 0.6278 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.5641, allocations: 0.7975 MB / 0.6286 GB, free: 3.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.5664, allocations: 1.589 MB / 0.6301 GB, free: 1.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.5702, allocations: 2.417 MB / 0.6325 GB, free: 14.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/0.5702, allocations: 8 kB / 0.6325 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008883/0.5791, allocations: 3.124 MB / 0.6356 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.5792, allocations: 20 kB / 0.6356 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/0.5792, allocations: 28 kB / 0.6356 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003804/0.583, allocations: 490.8 kB / 0.6361 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.5851, allocations: 0.5889 MB / 0.6366 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.5966, allocations: 7.718 MB / 0.6442 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.5985, allocations: 83.98 kB / 0.6443 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004349/0.599, allocations: 143.9 kB / 0.6444 GB, free: 1.688 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.001073/0.6, allocations: 420.8 kB / 0.6448 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/0.6006, allocations: 178.8 kB / 0.645 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008117/0.6087, allocations: 2.397 MB / 0.6473 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.6088, allocations: 20 kB / 0.6473 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6088, allocations: 0 / 0.6473 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.6088, allocations: 7.969 kB / 0.6473 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.612, allocations: 1.863 MB / 0.6492 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.6121, allocations: 0 / 0.6492 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.6134, allocations: 339.6 kB / 0.6495 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/0.6173, allocations: 467.1 kB / 0.6499 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.6174, allocations: 59.97 kB / 0.65 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.6282, allocations: 7.536 MB / 0.6573 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.6282, allocations: 4 kB / 0.6573 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/0.6367, allocations: 3.004 MB / 0.6603 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.6372, allocations: 244 kB / 0.6605 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.6375, allocations: 40 kB / 0.6605 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.6385, allocations: 39.94 kB / 0.6606 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.6389, allocations: 149.8 kB / 0.6607 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.639, allocations: 75.97 kB / 0.6608 GB, free: 128 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001614/0.6406, allocations: 1.129 MB / 0.6619 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6406, allocations: 0 / 0.6619 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004133/0.6448, allocations: 1.383 MB / 0.6633 GB, free: 13.61 MB / 0.5137 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.01199/0.6568, allocations: 4.99 MB / 0.6681 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004717/0.6615, allocations: 2.395 MB / 0.6705 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6615, allocations: 192 / 0.6705 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.6636, allocations: 1.273 MB / 0.6717 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.6657, allocations: 356.8 kB / 0.672 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/0.701, allocations: 16.53 MB / 0.6882 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.7026, allocations: 1.378 MB / 0.6895 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00182/0.7044, allocations: 441.4 kB / 0.69 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/0.706, allocations: 0.9514 MB / 0.6909 GB, free: 108 kB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/0.706, allocations: 0 / 0.6909 GB, free: 108 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3415/1.048, allocations: 63.24 MB / 0.7526 GB, free: 172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/19.56, allocations: 3.938 kB / 0.7527 GB, free: 172 MB / 0.5606 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.377480921102688] Failed to read output from testmodel.py, exit status != 0: 19.68836541310884 19.698950136 19.235771118 Calling exit ...