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.00126/0.00126, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.001545/0.001545, allocations: 167.2 kB / 22.46 MB, free: 5.375 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.441/1.441, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.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.1323/0.1323, allocations: 17.37 MB / 276.5 MB, free: 15.29 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: translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 411.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.107e-05, allocations: 5.375 kB / 412 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01614/0.01617, allocations: 12.86 MB / 424.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2617/0.2779, allocations: 43.16 MB / 468 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.2808, allocations: 51.19 kB / 468 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.2842, allocations: 1.013 MB / 469 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.2969, allocations: 3.556 MB / 472.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01895/0.3158, allocations: 7.278 MB / 479.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007388/0.3232, allocations: 4.657 MB / 484.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.3263, allocations: 1.895 MB / 486.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.3303, allocations: 2.948 MB / 489.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.333, allocations: 1.84 MB / 491.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006972/0.3337, allocations: 382.5 kB / 491.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.3519, allocations: 5.268 MB / 496.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3539, allocations: 0.9032 MB / 497.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.3573, allocations: 1.411 MB / 499.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02882/0.3861, allocations: 10.87 MB / 0.4981 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3861, allocations: 5.031 kB / 0.4981 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3861, allocations: 0 / 0.4981 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.464e-05/0.3862, allocations: 0 / 0.4981 GB, free: 2.348 MB / 382.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.009832/0.396, allocations: 4.699 MB / 0.5027 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.396, allocations: 8.031 kB / 0.5027 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.4004, allocations: 0.9369 MB / 0.5036 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.4035, allocations: 1.546 MB / 0.5051 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.4037, allocations: 238.6 kB / 0.5053 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005757/0.4043, allocations: 320.3 kB / 0.5056 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007766/0.4121, allocations: 4.527 MB / 0.5101 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.4121, allocations: 2.344 kB / 0.5101 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003855/0.4125, allocations: 124.6 kB / 0.5102 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.999e-05/0.4126, allocations: 79.94 kB / 0.5103 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.4231, allocations: 6.415 MB / 0.5165 GB, free: 15.28 MB / 414.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.02249/0.4456, allocations: 10.46 MB / 0.5267 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007638/0.4533, allocations: 3.72 MB / 0.5304 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.4553, allocations: 1.172 MB / 0.5315 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/0.4712, allocations: 6.305 MB / 0.5377 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.4712, allocations: 56 kB / 0.5377 GB, free: 9.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 4.187e-06/0.4713, allocations: 0 / 0.5377 GB, free: 9.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04539/0.5166, allocations: 9.396 MB / 0.5469 GB, free: 15.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.5167, allocations: 128.8 kB / 0.547 GB, free: 15.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.521, allocations: 3.28 MB / 0.5502 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002784/0.5213, allocations: 61.7 kB / 0.5503 GB, free: 12.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.5228, allocations: 1.648 MB / 0.5519 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009322/0.5237, allocations: 0.8212 MB / 0.5527 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.5248, allocations: 0.6839 MB / 0.5534 GB, free: 9.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.525, allocations: 305.1 kB / 0.5537 GB, free: 8.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/0.5275, allocations: 1.424 MB / 0.555 GB, free: 7.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003634/0.5312, allocations: 2.519 MB / 0.5575 GB, free: 4.395 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00584/0.537, allocations: 3.627 MB / 0.561 GB, free: 284 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-05/0.537, allocations: 12 kB / 0.5611 GB, free: 272 kB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01406/0.5511, allocations: 5.023 MB / 0.566 GB, free: 11.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.5511, allocations: 23.98 kB / 0.566 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.23e-05/0.5512, allocations: 36 kB / 0.566 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005977/0.5572, allocations: 0.7037 MB / 0.5667 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.5601, allocations: 0.8425 MB / 0.5675 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.5777, allocations: 10.71 MB / 0.578 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.5807, allocations: 124 kB / 0.5781 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004959/0.5812, allocations: 199.9 kB / 0.5783 GB, free: 13.98 MB / 478.1 MB 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.001287/0.5825, allocations: 0.5396 MB / 0.5788 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/0.5832, allocations: 254.3 kB / 0.5791 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.5948, allocations: 3.194 MB / 0.5822 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.5948, allocations: 24 kB / 0.5822 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5948, allocations: 4 kB / 0.5822 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/0.5949, allocations: 11.91 kB / 0.5822 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.5987, allocations: 1.935 MB / 0.5841 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5987, allocations: 4 kB / 0.5841 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.6005, allocations: 447.8 kB / 0.5845 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006037/0.6066, allocations: 0.6644 MB / 0.5852 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.6068, allocations: 83.95 kB / 0.5853 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.6235, allocations: 10.43 MB / 0.5955 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.6235, allocations: 7.938 kB / 0.5955 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/0.6365, allocations: 4.133 MB / 0.5995 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.6372, allocations: 234.2 kB / 0.5997 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.6376, allocations: 55.98 kB / 0.5998 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.639, allocations: 52 kB / 0.5998 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/0.6395, allocations: 201.5 kB / 0.6 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/0.6397, allocations: 95.95 kB / 0.6001 GB, free: 6.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002801/0.6425, allocations: 2.27 MB / 0.6023 GB, free: 4.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6425, allocations: 0 / 0.6023 GB, free: 4.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006349/0.6489, allocations: 2.103 MB / 0.6044 GB, free: 2.406 MB / 494.1 MB 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.005085/0.654, allocations: 2.391 MB / 0.6067 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007223/0.6612, allocations: 3.65 MB / 0.6103 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.6612, allocations: 0 / 0.6103 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/0.6647, allocations: 1.769 MB / 0.612 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/0.668, allocations: 491.1 kB / 0.6125 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.6781, allocations: 5.053 MB / 0.6174 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.6796, allocations: 1.158 MB / 0.6185 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002484/0.6821, allocations: 0.5912 MB / 0.6191 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009593/0.683, allocations: 399.2 kB / 0.6195 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/0.6831, allocations: 0 / 0.6195 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of Templates: time 0.2626/0.9457, allocations: 69.84 MB / 0.6877 GB, free: 150.2 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.126318614929914] Failed to read output from testmodel.py, exit status != 0: 0.954303927719593 0.963218043 0.5746678120000001 Calling exit ...