Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.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.001331/0.001331, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001524/0.001524, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.992 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.1388/0.1388, 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_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",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.002104/0.002104, allocations: 71.89 kB / 471.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 59.87 MB / 0.5187 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01391/0.349, allocations: 14.96 MB / 0.5333 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06733/0.4163, allocations: 49.42 MB / 0.5815 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00321/0.4195, allocations: 46.88 kB / 0.5816 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.4235, allocations: 1.104 MB / 0.5827 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01305/0.4365, allocations: 3.473 MB / 0.586 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02357/0.4601, allocations: 7.071 MB / 0.5929 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008275/0.4684, allocations: 4.499 MB / 0.5973 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003751/0.4721, allocations: 1.909 MB / 0.5992 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003894/0.476, allocations: 2.096 MB / 0.6013 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.4804, allocations: 2.328 MB / 0.6035 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.4816, allocations: 384 kB / 0.6039 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.5007, allocations: 5.585 MB / 0.6093 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.5023, allocations: 0.884 MB / 0.6102 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003693/0.506, allocations: 1.956 MB / 0.6121 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02783/0.5338, allocations: 10.24 MB / 0.6221 GB, free: 15.65 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5339, allocations: 0 / 0.6221 GB, free: 15.65 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5339, allocations: 0 / 0.6221 GB, free: 15.65 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002183/0.5341, allocations: 4 kB / 0.6221 GB, free: 15.65 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01195/0.546, allocations: 4.744 MB / 0.6268 GB, free: 10.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5461, allocations: 8.031 kB / 0.6268 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.5471, allocations: 426.4 kB / 0.6272 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.5518, allocations: 0.9268 MB / 0.6281 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.5553, allocations: 1.547 MB / 0.6296 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.5556, allocations: 234.6 kB / 0.6298 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008429/0.5564, allocations: 324.3 kB / 0.6301 GB, free: 7.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008493/0.5649, allocations: 4.527 MB / 0.6345 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-05/0.565, allocations: 3.938 kB / 0.6345 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/0.5654, allocations: 128 kB / 0.6347 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.5655, allocations: 76 kB / 0.6347 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/0.5753, allocations: 6.482 MB / 0.6411 GB, free: 12.04 MB / 494.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.02357/0.5989, allocations: 12.64 MB / 0.6534 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007228/0.6061, allocations: 3.786 MB / 0.6571 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.6082, allocations: 1.179 MB / 0.6583 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.6243, allocations: 6.728 MB / 0.6648 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.6244, allocations: 52 kB / 0.6649 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.888e-06/0.6244, allocations: 0 / 0.6649 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.0443/0.6687, allocations: 9.418 MB / 0.6741 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6688, allocations: 132.8 kB / 0.6742 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/0.6737, allocations: 3.401 MB / 0.6775 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.6741, allocations: 61.7 kB / 0.6776 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.6754, allocations: 1.645 MB / 0.6792 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/0.6764, allocations: 0.829 MB / 0.68 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.6777, allocations: 0.6878 MB / 0.6807 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6779, allocations: 301.1 kB / 0.681 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.6803, allocations: 1.417 MB / 0.6823 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/0.6836, allocations: 2.531 MB / 0.6848 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005165/0.6888, allocations: 3.619 MB / 0.6883 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.6888, allocations: 12 kB / 0.6884 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01318/0.702, allocations: 5.047 MB / 0.6933 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.7021, allocations: 20 kB / 0.6933 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/0.7021, allocations: 32 kB / 0.6933 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/0.708, allocations: 0.7076 MB / 0.694 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/0.7112, allocations: 0.8424 MB / 0.6949 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/0.7283, allocations: 10.94 MB / 0.7055 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.7314, allocations: 116 kB / 0.7056 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007572/0.7321, allocations: 196 kB / 0.7058 GB, free: 7.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001703/0.7338, allocations: 0.5519 MB / 0.7064 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007856/0.7346, allocations: 266.3 kB / 0.7066 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.7455, allocations: 3.215 MB / 0.7098 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.7455, allocations: 24 kB / 0.7098 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/0.7456, allocations: 4 kB / 0.7098 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.7456, allocations: 11.95 kB / 0.7098 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.7508, allocations: 2.589 MB / 0.7123 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/0.7508, allocations: 4 kB / 0.7123 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.7526, allocations: 447.4 kB / 0.7128 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005593/0.7582, allocations: 0.6645 MB / 0.7134 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003325/0.7585, allocations: 87.95 kB / 0.7135 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/0.7744, allocations: 10.66 MB / 0.7239 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.7744, allocations: 7.984 kB / 0.7239 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2452/1.02, allocations: 4.148 MB / 0.728 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/1.021, allocations: 255.5 kB / 0.7282 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/1.021, allocations: 53.17 kB / 0.7283 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.023, allocations: 53.73 kB / 0.7283 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/1.023, allocations: 205.2 kB / 0.7285 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.023, allocations: 98.91 kB / 0.7286 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002852/1.026, allocations: 2.393 MB / 0.7309 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.026, allocations: 0 / 0.7309 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006975/1.033, allocations: 2.114 MB / 0.733 GB, free: 172.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/1.049, allocations: 6.923 MB / 0.7398 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005778/1.055, allocations: 3.647 MB / 0.7433 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.055, allocations: 0 / 0.7433 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/1.057, allocations: 1.77 MB / 0.7451 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.06, allocations: 0.508 MB / 0.7456 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04427/1.104, allocations: 26.12 MB / 0.7711 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.105, allocations: 1.723 MB / 0.7727 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002135/1.107, allocations: 0.6207 MB / 0.7733 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.109, allocations: 1.428 MB / 0.7747 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.109, allocations: 0 / 0.7747 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.152/1.261, allocations: 96.7 MB / 0.8692 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.33/21.59, allocations: 3.438 kB / 0.8692 GB, free: 57.31 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.487890593940392] Failed to read output from testmodel.py, exit status != 0: 21.758171868976206 21.768303674 21.231905784 Calling exit ...