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.001763/0.001763, allocations: 113 kB / 18.94 MB, free: 2.934 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.002287/0.002287, allocations: 208.2 kB / 22.25 MB, free: 5.082 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 8.016 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.1362/0.1362, allocations: 23.9 MB / 336.3 MB, free: 11.14 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.00211/0.00211, allocations: 67.91 kB / 471.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 59.87 MB / 0.5186 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008874/0.3327, allocations: 10.45 MB / 0.5289 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04223/0.3749, allocations: 33.13 MB / 0.5612 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.3773, allocations: 31.88 kB / 0.5612 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.3798, allocations: 0.6978 MB / 0.5619 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.3896, allocations: 2.667 MB / 0.5645 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01507/0.4047, allocations: 4.362 MB / 0.5688 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005948/0.4106, allocations: 3.019 MB / 0.5717 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.4134, allocations: 1.359 MB / 0.5731 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.4164, allocations: 1.482 MB / 0.5745 GB, free: 420 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.4202, allocations: 1.637 MB / 0.5761 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009384/0.4211, allocations: 264 kB / 0.5764 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.4341, allocations: 3.662 MB / 0.5799 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.4352, allocations: 0.6036 MB / 0.5805 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.438, allocations: 1.334 MB / 0.5818 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01798/0.4559, allocations: 6.829 MB / 0.5885 GB, free: 2.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.456, allocations: 0 / 0.5885 GB, free: 2.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.456, allocations: 4 kB / 0.5885 GB, free: 2.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.4561, allocations: 4 kB / 0.5885 GB, free: 2.219 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.008077/0.4642, allocations: 3.227 MB / 0.5917 GB, free: 14.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.4642, allocations: 15.97 kB / 0.5917 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006641/0.4649, allocations: 295.9 kB / 0.592 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.4678, allocations: 0.5841 MB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.4703, allocations: 1.085 MB / 0.5936 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.4705, allocations: 156.6 kB / 0.5937 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/0.471, allocations: 216.3 kB / 0.5939 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005493/0.4765, allocations: 2.822 MB / 0.5967 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/0.4766, allocations: 0 / 0.5967 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.4768, allocations: 88 kB / 0.5968 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.4769, allocations: 48 kB / 0.5968 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006977/0.4839, allocations: 3.831 MB / 0.6006 GB, free: 5.668 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.01723/0.5011, allocations: 8.304 MB / 0.6087 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006342/0.5074, allocations: 3.325 MB / 0.6119 GB, free: 9.715 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.5093, allocations: 0.9153 MB / 0.6128 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.5217, allocations: 4.966 MB / 0.6177 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.5217, allocations: 43.88 kB / 0.6177 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007788/0.5225, allocations: 190.6 kB / 0.6179 GB, free: 3.559 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 6.041e-06/0.5225, allocations: 0 / 0.6179 GB, free: 3.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03035/0.5528, allocations: 6.189 MB / 0.6239 GB, free: 13.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.5529, allocations: 77.34 kB / 0.624 GB, free: 13.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.5554, allocations: 1.691 MB / 0.6257 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.5556, allocations: 49.7 kB / 0.6257 GB, free: 11.49 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/0.5565, allocations: 1.073 MB / 0.6268 GB, free: 10.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007004/0.5572, allocations: 0.6198 MB / 0.6274 GB, free: 9.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008227/0.558, allocations: 476.8 kB / 0.6278 GB, free: 9.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5581, allocations: 309.1 kB / 0.6281 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.5597, allocations: 0.8053 MB / 0.6289 GB, free: 8.195 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.562, allocations: 1.612 MB / 0.6305 GB, free: 6.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.5659, allocations: 2.424 MB / 0.6328 GB, free: 3.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/0.566, allocations: 8 kB / 0.6328 GB, free: 3.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009165/0.5751, allocations: 3.148 MB / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.5752, allocations: 23.92 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/0.5752, allocations: 24 kB / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/0.5791, allocations: 495.1 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.5812, allocations: 0.5811 MB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.5932, allocations: 7.308 MB / 0.6441 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.5952, allocations: 80 kB / 0.6442 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005174/0.5957, allocations: 148 kB / 0.6444 GB, free: 7.152 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.001342/0.5971, allocations: 416.9 kB / 0.6448 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006774/0.5977, allocations: 174.9 kB / 0.6449 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008456/0.6062, allocations: 2.404 MB / 0.6473 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.6062, allocations: 20.09 kB / 0.6473 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.6062, allocations: 0 / 0.6473 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/0.6063, allocations: 11.95 kB / 0.6473 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.6097, allocations: 1.834 MB / 0.6491 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.6097, allocations: 4 kB / 0.6491 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.6111, allocations: 343.6 kB / 0.6494 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003916/0.615, allocations: 463 kB / 0.6499 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/0.6152, allocations: 59.97 kB / 0.6499 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.6261, allocations: 7.11 MB / 0.6569 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6261, allocations: 4.031 kB / 0.6569 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009032/0.6351, allocations: 3.012 MB / 0.6598 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.6357, allocations: 162.8 kB / 0.66 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003906/0.6361, allocations: 40 kB / 0.66 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6372, allocations: 40 kB / 0.66 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.6375, allocations: 153.7 kB / 0.6602 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.6377, allocations: 75.97 kB / 0.6603 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001643/0.6393, allocations: 1.145 MB / 0.6614 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6393, allocations: 0 / 0.6614 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004434/0.6438, allocations: 1.387 MB / 0.6627 GB, free: 3.699 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.01289/0.6566, allocations: 5.002 MB / 0.6676 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005149/0.6618, allocations: 2.396 MB / 0.67 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6618, allocations: 0 / 0.67 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.6642, allocations: 1.276 MB / 0.6712 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.6664, allocations: 363.9 kB / 0.6716 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/0.7045, allocations: 16.58 MB / 0.6877 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.7061, allocations: 1.378 MB / 0.6891 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001898/0.708, allocations: 441.5 kB / 0.6895 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.7095, allocations: 0.9517 MB / 0.6904 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.7095, allocations: 0 / 0.6904 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3482/1.058, allocations: 65.18 MB / 0.7541 GB, free: 174 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.55/20.61, allocations: 16.36 kB / 0.7541 GB, free: 174 MB / 0.5606 GB " [Timeout remaining time 639] (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: 23.467770515941083] Failed to read output from testmodel.py, exit status != 0: 20.75927082495764 20.769436356 20.310990295 Calling exit ...