Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 106.2 kB / 16.46 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1022/0.1022, allocations: 15.55 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 59.91 kB / 445.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1481, allocations: 56.55 MB / 0.4902 GB, free: 4.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01877/0.1669, allocations: 14.84 MB / 0.5047 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3667/0.5336, allocations: 49.22 MB / 0.5528 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.537, allocations: 38.16 kB / 0.5528 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004725/0.5418, allocations: 1.112 MB / 0.5539 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.5552, allocations: 3.439 MB / 0.5572 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02702/0.5823, allocations: 6.98 MB / 0.5641 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008525/0.5908, allocations: 4.501 MB / 0.5685 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.5943, allocations: 1.906 MB / 0.5703 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.5988, allocations: 2.068 MB / 0.5723 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005624/0.6045, allocations: 2.321 MB / 0.5746 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.6058, allocations: 384 kB / 0.575 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02368/0.6295, allocations: 5.589 MB / 0.5804 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.6314, allocations: 0.8801 MB / 0.5813 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004274/0.6357, allocations: 1.956 MB / 0.5832 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03936/0.675, allocations: 9.988 MB / 0.593 GB, free: 1.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.675, allocations: 4 kB / 0.593 GB, free: 1.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.675, allocations: 0 / 0.593 GB, free: 1.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002259/0.6753, allocations: 0 / 0.593 GB, free: 1.184 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: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.0127/0.688, allocations: 4.812 MB / 0.5977 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.688, allocations: 8.031 kB / 0.5977 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.6928, allocations: 0.9367 MB / 0.5986 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.696, allocations: 1.596 MB / 0.6001 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.6962, allocations: 234.6 kB / 0.6004 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006152/0.6968, allocations: 324.3 kB / 0.6007 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008338/0.7051, allocations: 4.457 MB / 0.605 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.687e-05/0.7052, allocations: 3.938 kB / 0.605 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/0.7055, allocations: 124 kB / 0.6051 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.7056, allocations: 79.98 kB / 0.6052 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.716, allocations: 6.368 MB / 0.6114 GB, free: 14.02 MB / 462.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.0261/0.7421, allocations: 12.61 MB / 0.6238 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008177/0.7502, allocations: 4.485 MB / 0.6281 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.7526, allocations: 1.168 MB / 0.6293 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01937/0.7719, allocations: 12.18 MB / 0.6412 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.772, allocations: 56.19 kB / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 3.467e-06/0.7721, allocations: 0 / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04529/0.8173, allocations: 9.875 MB / 0.6509 GB, free: 3.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.8174, allocations: 136.8 kB / 0.651 GB, free: 3.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/0.8226, allocations: 3.315 MB / 0.6542 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004663/0.8231, allocations: 65.64 kB / 0.6543 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.8245, allocations: 1.641 MB / 0.6559 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009992/0.8255, allocations: 0.8328 MB / 0.6567 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.8267, allocations: 0.6917 MB / 0.6574 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8268, allocations: 313 kB / 0.6577 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.8291, allocations: 1.381 MB / 0.659 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.8326, allocations: 2.48 MB / 0.6615 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005791/0.8383, allocations: 3.584 MB / 0.665 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/0.8384, allocations: 12 kB / 0.665 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01368/0.8521, allocations: 4.976 MB / 0.6698 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.8521, allocations: 20 kB / 0.6698 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.81e-05/0.8522, allocations: 36 kB / 0.6699 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005601/0.8578, allocations: 0.7075 MB / 0.6706 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/0.8611, allocations: 0.8424 MB / 0.6714 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.8783, allocations: 11.54 MB / 0.6827 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.8816, allocations: 124 kB / 0.6828 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/0.8821, allocations: 195.9 kB / 0.683 GB, free: 0.6562 MB / 0.5137 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.001253/0.8834, allocations: 0.5398 MB / 0.6835 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007811/0.8842, allocations: 274.4 kB / 0.6838 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.8951, allocations: 3.211 MB / 0.6869 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.8951, allocations: 24 kB / 0.6869 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.8951, allocations: 4 kB / 0.6869 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/0.8952, allocations: 11.95 kB / 0.6869 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.8999, allocations: 2.625 MB / 0.6895 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8999, allocations: 0 / 0.6895 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.9017, allocations: 451.8 kB / 0.6899 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005282/0.9069, allocations: 0.6605 MB / 0.6906 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/0.9073, allocations: 83.95 kB / 0.6906 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.9241, allocations: 11.29 MB / 0.7017 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.9241, allocations: 8 kB / 0.7017 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.937, allocations: 4.157 MB / 0.7057 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.9381, allocations: 331.3 kB / 0.7061 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005176/0.9386, allocations: 55.92 kB / 0.7061 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.9401, allocations: 52 kB / 0.7062 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005359/0.9407, allocations: 193.6 kB / 0.7063 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/0.9409, allocations: 99.89 kB / 0.7064 GB, free: 7.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003284/0.9442, allocations: 2.338 MB / 0.7087 GB, free: 5.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.9442, allocations: 4 kB / 0.7087 GB, free: 5.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007897/0.9521, allocations: 2.111 MB / 0.7108 GB, free: 3.055 MB / 0.545 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.006291/0.9584, allocations: 2.276 MB / 0.713 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.27/1.228, allocations: 3.601 MB / 0.7165 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.228, allocations: 2.094 kB / 0.7165 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003085/1.232, allocations: 1.771 MB / 0.7183 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.235, allocations: 0.4901 MB / 0.7187 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.245, allocations: 5.225 MB / 0.7238 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/1.247, allocations: 1.716 MB / 0.7255 GB, free: 170.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002853/1.25, allocations: 0.6065 MB / 0.7261 GB, free: 170.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.251, allocations: 402.8 kB / 0.7265 GB, free: 170.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.943e-06/1.251, allocations: 7.219 kB / 0.7265 GB, free: 170.5 MB / 0.545 GB Notification: Performance of Templates: time 0.09442/1.346, allocations: 69.65 MB / 0.7945 GB, free: 122.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.907387391664088]