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.001334/0.001334, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00135/0.00135, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1392/0.1392, allocations: 23.86 MB / 333.4 MB, free: 1.188 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="cs",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.001973/0.001973, allocations: 69.09 kB / 466.7 MB, free: 30.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 59.83 MB / 0.5142 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01317/0.1201, allocations: 10.38 MB / 0.5243 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04137/0.1615, allocations: 33.05 MB / 0.5566 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.163, allocations: 35.69 kB / 0.5566 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.1651, allocations: 0.6981 MB / 0.5573 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.1724, allocations: 2.635 MB / 0.5599 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.1836, allocations: 4.322 MB / 0.5641 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004848/0.1885, allocations: 3.015 MB / 0.567 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.1906, allocations: 1.37 MB / 0.5684 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.1927, allocations: 1.485 MB / 0.5698 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.1953, allocations: 1.631 MB / 0.5714 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005072/0.1958, allocations: 260 kB / 0.5717 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/0.2098, allocations: 3.658 MB / 0.5752 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.2108, allocations: 0.6037 MB / 0.5758 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.213, allocations: 1.33 MB / 0.5771 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.2301, allocations: 6.833 MB / 0.5838 GB, free: 5.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2302, allocations: 4 kB / 0.5838 GB, free: 5.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2302, allocations: 0 / 0.5838 GB, free: 5.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.257e-05/0.2302, allocations: 0 / 0.5838 GB, free: 5.293 MB / 446.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.007215/0.2374, allocations: 3.295 MB / 0.587 GB, free: 1.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2375, allocations: 15.97 kB / 0.587 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.907e-05/0.2375, allocations: 60.41 kB / 0.5871 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003866/0.2379, allocations: 299.8 kB / 0.5874 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.2407, allocations: 0.5804 MB / 0.588 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2201/0.4609, allocations: 1.152 MB / 0.5891 GB, free: 64.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.461, allocations: 159.2 kB / 0.5892 GB, free: 64.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/0.4617, allocations: 223.3 kB / 0.5894 GB, free: 64.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.4671, allocations: 2.794 MB / 0.5922 GB, free: 64.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.4671, allocations: 0 / 0.5922 GB, free: 64.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.4673, allocations: 86.25 kB / 0.5923 GB, free: 64.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.4673, allocations: 55.03 kB / 0.5923 GB, free: 64.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006542/0.4739, allocations: 3.796 MB / 0.596 GB, free: 63.05 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.01427/0.4882, allocations: 8.352 MB / 0.6042 GB, free: 58.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/0.4939, allocations: 3.832 MB / 0.6079 GB, free: 56.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.4953, allocations: 0.907 MB / 0.6088 GB, free: 56.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009992/0.5053, allocations: 9.246 MB / 0.6178 GB, free: 48.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5053, allocations: 50.19 kB / 0.6179 GB, free: 48.43 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005672/0.5059, allocations: 188.2 kB / 0.6181 GB, free: 48.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.747e-06/0.5059, allocations: 0 / 0.6181 GB, free: 48.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.02705/0.533, allocations: 6.413 MB / 0.6243 GB, free: 45.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.533, allocations: 69.16 kB / 0.6244 GB, free: 45.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5347, allocations: 1.667 MB / 0.626 GB, free: 44.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.5348, allocations: 57.77 kB / 0.6261 GB, free: 44.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.5352, allocations: 1.083 MB / 0.6271 GB, free: 43.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.5355, allocations: 0.6124 MB / 0.6277 GB, free: 42.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/0.5361, allocations: 476.8 kB / 0.6282 GB, free: 42.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.5361, allocations: 301.1 kB / 0.6285 GB, free: 41.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.5372, allocations: 0.7936 MB / 0.6292 GB, free: 41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.5386, allocations: 1.597 MB / 0.6308 GB, free: 39.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.5411, allocations: 2.416 MB / 0.6332 GB, free: 36.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.5411, allocations: 4 kB / 0.6332 GB, free: 36.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007374/0.5484, allocations: 3.136 MB / 0.6362 GB, free: 33.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.5485, allocations: 16 kB / 0.6362 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/0.5485, allocations: 24 kB / 0.6363 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/0.5521, allocations: 497.4 kB / 0.6367 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.5543, allocations: 0.582 MB / 0.6373 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/0.5632, allocations: 7.717 MB / 0.6448 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.5654, allocations: 83.98 kB / 0.6449 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.5656, allocations: 132 kB / 0.645 GB, free: 23.58 MB / 446.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.0007081/0.5663, allocations: 426.9 kB / 0.6455 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.5666, allocations: 178.8 kB / 0.6456 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/0.5735, allocations: 2.388 MB / 0.648 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5736, allocations: 20 kB / 0.648 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5736, allocations: 7.984 kB / 0.648 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.5736, allocations: 11.91 kB / 0.648 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.5759, allocations: 1.854 MB / 0.6498 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5759, allocations: 7.938 kB / 0.6498 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.5772, allocations: 343.6 kB / 0.6501 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/0.5808, allocations: 454.9 kB / 0.6506 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.5809, allocations: 71.84 kB / 0.6506 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.5889, allocations: 7.537 MB / 0.658 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5889, allocations: 192 / 0.658 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007329/0.5962, allocations: 2.996 MB / 0.6609 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.5967, allocations: 249.8 kB / 0.6612 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.5969, allocations: 43.98 kB / 0.6612 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/0.5978, allocations: 44 kB / 0.6613 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.5981, allocations: 145.8 kB / 0.6614 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.5983, allocations: 71.97 kB / 0.6615 GB, free: 6.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.5993, allocations: 1.129 MB / 0.6626 GB, free: 4.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5993, allocations: 0 / 0.6626 GB, free: 4.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00339/0.6027, allocations: 1.385 MB / 0.6639 GB, free: 3.594 MB / 446.1 MB 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.01027/0.613, allocations: 5.01 MB / 0.6688 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004529/0.6175, allocations: 2.381 MB / 0.6711 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6175, allocations: 4.125 kB / 0.6711 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.6197, allocations: 1.267 MB / 0.6724 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.6216, allocations: 366.6 kB / 0.6727 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/0.6555, allocations: 16.51 MB / 0.6888 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.6567, allocations: 1.385 MB / 0.6902 GB, free: 7.668 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.6583, allocations: 429.5 kB / 0.6906 GB, free: 7.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.6598, allocations: 0.9553 MB / 0.6915 GB, free: 6.293 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/0.6598, allocations: 7.938 kB / 0.6915 GB, free: 6.285 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/0.7877, allocations: 63.27 MB / 0.7533 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/20.58, allocations: 12 kB / 0.7534 GB, free: 7.23 MB / 0.5294 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 23.70206349203363] Failed to read output from testmodel.py, exit status != 0: 20.78185870696325 20.808060197 20.572772895 Calling exit ...