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.001386/0.001386, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001528/0.001528, allocations: 222.5 kB / 22.25 MB, free: 5.254 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.785 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.1406/0.1406, allocations: 23.88 MB / 336.3 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_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.002027/0.002027, allocations: 67.91 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 59.87 MB / 0.5185 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.00889/0.3222, allocations: 9.109 MB / 0.5274 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03904/0.3612, allocations: 28.97 MB / 0.5557 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.3632, allocations: 32.16 kB / 0.5558 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.3653, allocations: 0.6319 MB / 0.5564 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008566/0.3739, allocations: 2.615 MB / 0.5589 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.3865, allocations: 4.371 MB / 0.5632 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.3913, allocations: 3.02 MB / 0.5661 GB, free: 8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.3933, allocations: 1.378 MB / 0.5675 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.3956, allocations: 1.49 MB / 0.5689 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.3984, allocations: 1.627 MB / 0.5705 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004688/0.3989, allocations: 260 kB / 0.5708 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.4101, allocations: 3.522 MB / 0.5742 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009897/0.4111, allocations: 0.6075 MB / 0.5748 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.413, allocations: 1.124 MB / 0.5759 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.429, allocations: 6.809 MB / 0.5826 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.429, allocations: 4 kB / 0.5826 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.429, allocations: 0 / 0.5826 GB, free: 8.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.147e-05/0.4291, allocations: 0 / 0.5826 GB, free: 8.012 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.00714/0.4362, allocations: 3.227 MB / 0.5857 GB, free: 4.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4363, allocations: 8.031 kB / 0.5857 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003841/0.4367, allocations: 287.9 kB / 0.586 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.4394, allocations: 0.5804 MB / 0.5866 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.4417, allocations: 1.089 MB / 0.5876 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.4418, allocations: 156.6 kB / 0.5878 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/0.4422, allocations: 220.3 kB / 0.588 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.4471, allocations: 2.818 MB / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.4472, allocations: 0 / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.4474, allocations: 84 kB / 0.5908 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.4475, allocations: 56 kB / 0.5909 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/0.4536, allocations: 3.788 MB / 0.5946 GB, free: 11.52 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.01464/0.4682, allocations: 6.974 MB / 0.6014 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006077/0.4743, allocations: 3.259 MB / 0.6046 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.476, allocations: 0.9114 MB / 0.6055 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.488, allocations: 4.693 MB / 0.61 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.4881, allocations: 47.88 kB / 0.6101 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007126/0.4888, allocations: 182.6 kB / 0.6103 GB, free: 11.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.428e-06/0.4888, allocations: 0 / 0.6103 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03397/0.5228, allocations: 6.189 MB / 0.6163 GB, free: 5.051 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.5228, allocations: 69.41 kB / 0.6164 GB, free: 4.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.5252, allocations: 1.741 MB / 0.6181 GB, free: 3.215 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.5255, allocations: 53.7 kB / 0.6181 GB, free: 3.156 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008714/0.5263, allocations: 1.077 MB / 0.6192 GB, free: 2.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006761/0.527, allocations: 0.6198 MB / 0.6198 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000736/0.5277, allocations: 476.8 kB / 0.6202 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5279, allocations: 305.1 kB / 0.6205 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.5293, allocations: 0.8093 MB / 0.6213 GB, free: 15.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.5315, allocations: 1.62 MB / 0.6229 GB, free: 13.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.5353, allocations: 2.421 MB / 0.6253 GB, free: 11.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.5353, allocations: 8 kB / 0.6253 GB, free: 11.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009509/0.5448, allocations: 3.148 MB / 0.6283 GB, free: 7.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.5449, allocations: 16 kB / 0.6284 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.5449, allocations: 24 kB / 0.6284 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/0.5495, allocations: 0.4911 MB / 0.6289 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.5518, allocations: 0.585 MB / 0.6294 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.5639, allocations: 7.239 MB / 0.6365 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.566, allocations: 83.98 kB / 0.6366 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.5663, allocations: 140 kB / 0.6367 GB, free: 14.88 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.000855/0.5672, allocations: 424.2 kB / 0.6371 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.5676, allocations: 174.9 kB / 0.6373 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008453/0.576, allocations: 2.396 MB / 0.6396 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.5761, allocations: 16 kB / 0.6396 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5761, allocations: 4.094 kB / 0.6396 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/0.5761, allocations: 11.95 kB / 0.6397 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.5791, allocations: 1.578 MB / 0.6412 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5791, allocations: 4 kB / 0.6412 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.5806, allocations: 347.5 kB / 0.6415 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004466/0.585, allocations: 455.2 kB / 0.642 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.5852, allocations: 63.97 kB / 0.642 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.5962, allocations: 7.052 MB / 0.6489 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5962, allocations: 4 kB / 0.6489 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009203/0.6054, allocations: 3 MB / 0.6518 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.6058, allocations: 178.7 kB / 0.652 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.6061, allocations: 32 kB / 0.652 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6071, allocations: 47.98 kB / 0.6521 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.6075, allocations: 149.7 kB / 0.6522 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.6076, allocations: 71.97 kB / 0.6523 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001479/0.6091, allocations: 1.153 MB / 0.6534 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6091, allocations: 0 / 0.6534 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003893/0.613, allocations: 1.383 MB / 0.6548 GB, free: 11.74 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.013/0.626, allocations: 4.991 MB / 0.6597 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004936/0.6309, allocations: 2.403 MB / 0.662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6309, allocations: 0 / 0.662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.6331, allocations: 1.273 MB / 0.6632 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.6349, allocations: 374.8 kB / 0.6636 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.6704, allocations: 16.57 MB / 0.6798 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.6714, allocations: 0.8141 MB / 0.6806 GB, free: 100 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001735/0.6731, allocations: 445.4 kB / 0.681 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.6745, allocations: 0.9516 MB / 0.6819 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.6745, allocations: 0 / 0.6819 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3383/1.013, allocations: 66.43 MB / 0.7468 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.02, allocations: 1.188 kB / 0.7468 GB, free: 177.9 MB / 0.5606 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.78252307602088] Failed to read output from testmodel.py, exit status != 0: 17.186258596018888 17.209684744 16.776110308 Calling exit ...