Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST") translateModel(Physiolibrary.Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009734, allocations: 106 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.4009/0.4009, allocations: 36.67 MB / 376.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 446.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 58.92 MB / 0.4935 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.GasSolubility_NIST): time 0.2011/0.3102, allocations: 17.25 MB / 0.5103 GB, free: 31.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03993/0.3502, allocations: 48.76 MB / 0.5579 GB, free: 12.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.3541, allocations: 79.25 kB / 0.558 GB, free: 12.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.3574, allocations: 1.001 MB / 0.559 GB, free: 11.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00902/0.3664, allocations: 2.913 MB / 0.5618 GB, free: 9.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01771/0.3842, allocations: 6.075 MB / 0.5678 GB, free: 6.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007558/0.3918, allocations: 4.317 MB / 0.572 GB, free: 4.254 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00414/0.3959, allocations: 1.964 MB / 0.5739 GB, free: 3.418 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.4002, allocations: 2.015 MB / 0.5759 GB, free: 2.691 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004713/0.405, allocations: 2.244 MB / 0.5781 GB, free: 1.363 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.4064, allocations: 243.5 kB / 0.5783 GB, free: 1.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/0.4262, allocations: 5.281 MB / 0.5835 GB, free: 14.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.4277, allocations: 0.7551 MB / 0.5842 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003764/0.4315, allocations: 1.835 MB / 0.586 GB, free: 11.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02323/0.4547, allocations: 9.431 MB / 0.5952 GB, free: 2.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.4548, allocations: 3.984 kB / 0.5952 GB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4548, allocations: 0 / 0.5952 GB, free: 2.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.4549, allocations: 0 / 0.5952 GB, free: 2.227 MB / 410.7 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.00919/0.4641, allocations: 4.648 MB / 0.5997 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4642, allocations: 8.031 kB / 0.5997 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.4683, allocations: 0.9221 MB / 0.6006 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.4716, allocations: 1.567 MB / 0.6022 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.4718, allocations: 234.6 kB / 0.6024 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005624/0.4724, allocations: 320.3 kB / 0.6027 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006984/0.4794, allocations: 4.457 MB / 0.6071 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.4794, allocations: 4 kB / 0.6071 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.4797, allocations: 127.9 kB / 0.6072 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.4798, allocations: 76 kB / 0.6073 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008908/0.4887, allocations: 6.364 MB / 0.6135 GB, free: 15.29 MB / 442.7 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.02291/0.5116, allocations: 12.68 MB / 0.6259 GB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.5186, allocations: 4.633 MB / 0.6304 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.5206, allocations: 1.307 MB / 0.6317 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/0.5372, allocations: 12.21 MB / 0.6436 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.5373, allocations: 52.19 kB / 0.6436 GB, free: 14.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 4.519e-06/0.5373, allocations: 4 kB / 0.6436 GB, free: 14.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=227): time 0.04174/0.5791, allocations: 9.776 MB / 0.6532 GB, free: 4.418 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.5792, allocations: 136.7 kB / 0.6533 GB, free: 4.262 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/0.5831, allocations: 3.314 MB / 0.6565 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5834, allocations: 61.7 kB / 0.6566 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000983/0.5844, allocations: 1.589 MB / 0.6582 GB, free: 15.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/0.5851, allocations: 0.7896 MB / 0.6589 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009508/0.586, allocations: 0.6913 MB / 0.6596 GB, free: 13.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.5861, allocations: 301.1 kB / 0.6599 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.5881, allocations: 1.385 MB / 0.6612 GB, free: 12.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.591, allocations: 2.476 MB / 0.6637 GB, free: 9.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.5954, allocations: 3.584 MB / 0.6672 GB, free: 5.027 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.5954, allocations: 12 kB / 0.6672 GB, free: 5.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01245/0.6079, allocations: 4.975 MB / 0.672 GB, free: 16 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.608, allocations: 24.23 kB / 0.6721 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.015e-05/0.6081, allocations: 32 kB / 0.6721 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005601/0.6137, allocations: 0.7112 MB / 0.6728 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.6169, allocations: 0.8347 MB / 0.6736 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/0.632, allocations: 10.44 MB / 0.6838 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.6354, allocations: 191.8 kB / 0.684 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006743/0.6362, allocations: 199.9 kB / 0.6842 GB, free: 2.766 MB / 0.4948 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.00136/0.6375, allocations: 0.549 MB / 0.6847 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008016/0.6384, allocations: 256.7 kB / 0.6849 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2218/0.8602, allocations: 3.227 MB / 0.6881 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/0.8603, allocations: 25.02 kB / 0.6881 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.8603, allocations: 4.031 kB / 0.6881 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.63e-05/0.8604, allocations: 12.14 kB / 0.6881 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.8649, allocations: 2.594 MB / 0.6907 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.865, allocations: 11.58 kB / 0.6907 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.8668, allocations: 446.6 kB / 0.6911 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/0.8724, allocations: 0.6659 MB / 0.6918 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004363/0.8729, allocations: 82.94 kB / 0.6918 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.8851, allocations: 10.16 MB / 0.7018 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.8851, allocations: 9.094 kB / 0.7018 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05121/0.9363, allocations: 20.7 MB / 0.722 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.9369, allocations: 321.5 kB / 0.7223 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.9373, allocations: 54.34 kB / 0.7223 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9388, allocations: 85.16 kB / 0.7224 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.9392, allocations: 195.2 kB / 0.7226 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.9394, allocations: 98.44 kB / 0.7227 GB, free: 127 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002322/0.9417, allocations: 2.339 MB / 0.725 GB, free: 126 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9417, allocations: 0 / 0.725 GB, free: 126 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007438/0.9492, allocations: 2.44 MB / 0.7274 GB, free: 125.7 MB / 0.4948 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.005106/0.9543, allocations: 2.235 MB / 0.7296 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006326/0.9607, allocations: 3.761 MB / 0.7332 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.9607, allocations: 1.344 kB / 0.7332 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.9635, allocations: 1.875 MB / 0.7351 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.9664, allocations: 471.4 kB / 0.7355 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.9775, allocations: 8.095 MB / 0.7434 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.9793, allocations: 1.79 MB / 0.7452 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003374/0.9827, allocations: 0.6514 MB / 0.7458 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.9838, allocations: 418.5 kB / 0.7462 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.9838, allocations: 0 / 0.7462 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.09573/1.08, allocations: 74.38 MB / 0.8188 GB, free: 52.8 MB / 0.4948 GB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_NIST.pipe 2>&1)