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.001685/0.001685, allocations: 116.1 kB / 17.16 MB, free: 5.906 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.002119/0.002119, allocations: 215 kB / 20.13 MB, free: 2.961 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1423/0.1423, allocations: 23.89 MB / 333.4 MB, free: 1.184 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_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.00204/0.00204, allocations: 63.23 kB / 466.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.1002, allocations: 59.84 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01295/0.1131, allocations: 10.39 MB / 0.5244 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04188/0.155, allocations: 33.06 MB / 0.5567 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.1568, allocations: 35.69 kB / 0.5567 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.159, allocations: 0.6903 MB / 0.5574 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007729/0.1667, allocations: 2.631 MB / 0.5599 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01129/0.178, allocations: 4.326 MB / 0.5642 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004372/0.1824, allocations: 3.015 MB / 0.5671 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.1844, allocations: 1.366 MB / 0.5684 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.1866, allocations: 1.489 MB / 0.5699 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.1892, allocations: 1.624 MB / 0.5715 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.1897, allocations: 268 kB / 0.5717 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.2007, allocations: 3.65 MB / 0.5753 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.2019, allocations: 0.6115 MB / 0.5759 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.2041, allocations: 1.33 MB / 0.5772 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.2193, allocations: 6.829 MB / 0.5839 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2193, allocations: 0 / 0.5839 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2193, allocations: 0 / 0.5839 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.752e-05/0.2194, allocations: 4 kB / 0.5839 GB, free: 5.27 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.006497/0.2259, allocations: 3.298 MB / 0.5871 GB, free: 1.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2259, allocations: 16.03 kB / 0.5871 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.046e-05/0.226, allocations: 52.42 kB / 0.5871 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003718/0.2263, allocations: 299.8 kB / 0.5874 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.229, allocations: 0.5804 MB / 0.588 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2222/0.4512, allocations: 1.149 MB / 0.5891 GB, free: 64.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.4514, allocations: 161.4 kB / 0.5893 GB, free: 64.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005855/0.452, allocations: 218.8 kB / 0.5895 GB, free: 64.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.4568, allocations: 2.797 MB / 0.5922 GB, free: 64.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.4568, allocations: 1.5 kB / 0.5922 GB, free: 64.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.457, allocations: 85.19 kB / 0.5923 GB, free: 64.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.4571, allocations: 54.34 kB / 0.5923 GB, free: 64.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005761/0.4628, allocations: 3.789 MB / 0.596 GB, free: 63 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.01301/0.4758, allocations: 8.356 MB / 0.6042 GB, free: 58.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005478/0.4813, allocations: 3.834 MB / 0.608 GB, free: 56.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.4828, allocations: 0.9082 MB / 0.6088 GB, free: 56.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009862/0.4926, allocations: 9.246 MB / 0.6179 GB, free: 48.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4927, allocations: 53.67 kB / 0.6179 GB, free: 48.37 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006009/0.4933, allocations: 182.5 kB / 0.6181 GB, free: 48.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.357e-06/0.4933, allocations: 0 / 0.6181 GB, free: 48.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.02695/0.5202, allocations: 6.417 MB / 0.6244 GB, free: 45.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.5202, allocations: 75.55 kB / 0.6244 GB, free: 44.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.5219, allocations: 1.66 MB / 0.6261 GB, free: 44.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.5221, allocations: 59.23 kB / 0.6261 GB, free: 43.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.5225, allocations: 1.078 MB / 0.6272 GB, free: 43.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.5229, allocations: 0.61 MB / 0.6278 GB, free: 42.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005592/0.5234, allocations: 480.8 kB / 0.6282 GB, free: 42.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.5235, allocations: 301.1 kB / 0.6285 GB, free: 41.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5245, allocations: 0.8013 MB / 0.6293 GB, free: 40.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.5259, allocations: 1.595 MB / 0.6308 GB, free: 39.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.5284, allocations: 2.417 MB / 0.6332 GB, free: 36.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.5284, allocations: 8 kB / 0.6332 GB, free: 36.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007188/0.5356, allocations: 3.132 MB / 0.6363 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.5356, allocations: 16 kB / 0.6363 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.5356, allocations: 28 kB / 0.6363 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003376/0.539, allocations: 485.3 kB / 0.6368 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.5409, allocations: 0.5898 MB / 0.6374 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008589/0.5495, allocations: 7.717 MB / 0.6449 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.5514, allocations: 80 kB / 0.645 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.5516, allocations: 144 kB / 0.6451 GB, free: 23.56 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.0006818/0.5523, allocations: 414 kB / 0.6455 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.5526, allocations: 178.8 kB / 0.6457 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/0.5594, allocations: 2.401 MB / 0.648 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.5594, allocations: 16 kB / 0.648 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5594, allocations: 4 kB / 0.648 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.5594, allocations: 7.969 kB / 0.648 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.5617, allocations: 1.856 MB / 0.6499 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.5617, allocations: 0 / 0.6499 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.5629, allocations: 347.6 kB / 0.6502 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/0.5664, allocations: 463.6 kB / 0.6506 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/0.5667, allocations: 63.91 kB / 0.6507 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.5767, allocations: 7.54 MB / 0.6581 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5767, allocations: 4.031 kB / 0.6581 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009732/0.5864, allocations: 3 MB / 0.661 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.5868, allocations: 250.2 kB / 0.6612 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.5871, allocations: 40 kB / 0.6613 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/0.588, allocations: 40 kB / 0.6613 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.5883, allocations: 145.8 kB / 0.6614 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5884, allocations: 75.97 kB / 0.6615 GB, free: 6.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.5894, allocations: 1.133 MB / 0.6626 GB, free: 4.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5894, allocations: 0 / 0.6626 GB, free: 4.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00345/0.5929, allocations: 1.38 MB / 0.664 GB, free: 3.578 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.01056/0.6034, allocations: 5.01 MB / 0.6689 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005458/0.6089, allocations: 2.379 MB / 0.6712 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6089, allocations: 0 / 0.6712 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.6113, allocations: 1.269 MB / 0.6724 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.6133, allocations: 366.5 kB / 0.6728 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/0.6479, allocations: 16.51 MB / 0.6889 GB, free: 9.074 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.6491, allocations: 1.382 MB / 0.6902 GB, free: 7.656 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001689/0.6508, allocations: 437.6 kB / 0.6907 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.6521, allocations: 0.9553 MB / 0.6916 GB, free: 6.273 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6521, allocations: 0 / 0.6916 GB, free: 6.273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/0.7757, allocations: 63.28 MB / 0.7534 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/21.5, allocations: 14.75 kB / 0.7534 GB, free: 7.219 MB / 0.5294 GB " [Timeout remaining time 638] (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: 24.53733884502435] Failed to read output from testmodel.py, exit status != 0: 21.688683328975458 21.704353581 21.4816056 Calling exit ...