Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001411/0.001411, allocations: 109.2 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.00179/0.00179, allocations: 218.8 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.957 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.1519/0.1519, allocations: 23.85 MB / 336.3 MB, free: 11.17 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_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_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.00295/0.00295, allocations: 63.91 kB / 471.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3983, allocations: 59.86 MB / 0.5186 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01499/0.4132, allocations: 14.96 MB / 0.5332 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07294/0.4862, allocations: 49.42 MB / 0.5815 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004924/0.4911, allocations: 47.31 kB / 0.5815 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004843/0.496, allocations: 1.099 MB / 0.5826 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.5094, allocations: 3.481 MB / 0.586 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02491/0.5343, allocations: 7.067 MB / 0.5929 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008071/0.5424, allocations: 4.499 MB / 0.5973 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003829/0.5462, allocations: 1.913 MB / 0.5991 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/0.5505, allocations: 2.1 MB / 0.6012 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004922/0.5554, allocations: 2.316 MB / 0.6034 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.5571, allocations: 384 kB / 0.6038 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02324/0.5804, allocations: 5.589 MB / 0.6093 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.5818, allocations: 0.884 MB / 0.6101 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003299/0.5851, allocations: 1.96 MB / 0.6121 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02867/0.6138, allocations: 10.24 MB / 0.6221 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6138, allocations: 8 kB / 0.6221 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6138, allocations: 0 / 0.6221 GB, free: 15.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000239/0.6141, allocations: 0 / 0.6221 GB, free: 15.68 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.01212/0.6262, allocations: 4.74 MB / 0.6267 GB, free: 10.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.6262, allocations: 8.031 kB / 0.6267 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000853/0.6271, allocations: 418.4 kB / 0.6271 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.6316, allocations: 0.9386 MB / 0.628 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/0.6351, allocations: 1.543 MB / 0.6295 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.6354, allocations: 234.6 kB / 0.6297 GB, free: 7.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000578/0.6359, allocations: 328.2 kB / 0.6301 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007793/0.6437, allocations: 4.535 MB / 0.6345 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/0.6438, allocations: 0 / 0.6345 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.6441, allocations: 128 kB / 0.6346 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.6441, allocations: 72 kB / 0.6347 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.6544, allocations: 6.482 MB / 0.641 GB, free: 12.07 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.02814/0.6825, allocations: 12.62 MB / 0.6533 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/0.6907, allocations: 3.797 MB / 0.657 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.6931, allocations: 1.175 MB / 0.6582 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01823/0.7113, allocations: 6.736 MB / 0.6648 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.7114, allocations: 52.06 kB / 0.6648 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.507e-06/0.7114, allocations: 0 / 0.6648 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04782/0.7592, allocations: 9.418 MB / 0.674 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7593, allocations: 124.8 kB / 0.6741 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004779/0.7641, allocations: 3.393 MB / 0.6774 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00036/0.7644, allocations: 65.7 kB / 0.6775 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.7658, allocations: 1.637 MB / 0.6791 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.7668, allocations: 0.8329 MB / 0.6799 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.7681, allocations: 0.6956 MB / 0.6806 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7683, allocations: 301.1 kB / 0.6809 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.7707, allocations: 1.42 MB / 0.6823 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.7743, allocations: 2.515 MB / 0.6847 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0061/0.7804, allocations: 3.623 MB / 0.6883 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.303e-05/0.7804, allocations: 12 kB / 0.6883 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.0153/0.7957, allocations: 5.051 MB / 0.6932 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.7958, allocations: 20 kB / 0.6932 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.519e-05/0.7958, allocations: 36 kB / 0.6933 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006081/0.8019, allocations: 0.7036 MB / 0.694 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/0.8053, allocations: 0.8425 MB / 0.6948 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/0.8228, allocations: 10.94 MB / 0.7055 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.8256, allocations: 124 kB / 0.7056 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/0.8262, allocations: 199.9 kB / 0.7058 GB, free: 7.375 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.001412/0.8276, allocations: 0.5517 MB / 0.7063 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008059/0.8284, allocations: 266.3 kB / 0.7066 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.8405, allocations: 3.203 MB / 0.7097 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.8405, allocations: 27.98 kB / 0.7097 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.8405, allocations: 7.984 kB / 0.7097 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.952e-05/0.8406, allocations: 7.969 kB / 0.7097 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/0.8458, allocations: 2.6 MB / 0.7123 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.8458, allocations: 7.938 kB / 0.7123 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.8477, allocations: 447.8 kB / 0.7127 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006096/0.8538, allocations: 0.6606 MB / 0.7133 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004776/0.8543, allocations: 83.95 kB / 0.7134 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.8709, allocations: 10.67 MB / 0.7238 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.8709, allocations: 7.938 kB / 0.7239 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2656/1.137, allocations: 4.149 MB / 0.7279 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009236/1.137, allocations: 256.1 kB / 0.7281 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000647/1.138, allocations: 59.44 kB / 0.7282 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.14, allocations: 52.81 kB / 0.7283 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/1.14, allocations: 206.5 kB / 0.7285 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.14, allocations: 93.7 kB / 0.7285 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0034/1.144, allocations: 2.397 MB / 0.7309 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.144, allocations: 0 / 0.7309 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007427/1.151, allocations: 2.111 MB / 0.7329 GB, free: 173.2 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.0176/1.169, allocations: 6.918 MB / 0.7397 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006196/1.175, allocations: 3.643 MB / 0.7433 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.175, allocations: 0 / 0.7433 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.178, allocations: 1.776 MB / 0.745 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/1.181, allocations: 0.5059 MB / 0.7455 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05143/1.232, allocations: 26.12 MB / 0.771 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.233, allocations: 1.718 MB / 0.7727 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002356/1.236, allocations: 0.6135 MB / 0.7733 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.237, allocations: 1.427 MB / 0.7747 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/1.237, allocations: 0 / 0.7747 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/1.384, allocations: 96.7 MB / 0.8691 GB, free: 57.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.5/22.89, allocations: 3.266 kB / 0.8691 GB, free: 57.42 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.00684741488658] Failed to read output from testmodel.py, exit status != 0: 23.072091329144314 23.089902732 22.471728518 Calling exit ...