Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7685/0.7685, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 184.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 99.72 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 275.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 79.89 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3528, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002651/0.3556, allocations: 1.469 MB / 0.7694 GB, free: 26.21 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004484/0.356, allocations: 207.5 kB / 0.7696 GB, free: 26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.3561, allocations: 0 / 0.7696 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.3561, allocations: 0 / 0.7696 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.3562, allocations: 3.938 kB / 0.7696 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.3564, allocations: 19.91 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.157e-05/0.3564, allocations: 27.86 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.3565, allocations: 8 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.3566, allocations: 3.984 kB / 0.7696 GB, free: 25.94 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/0.3566, allocations: 15.94 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3566, allocations: 4 kB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.3567, allocations: 23.97 kB / 0.7697 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.3567, allocations: 4 kB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.3568, allocations: 11.92 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3569, allocations: 30.64 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3569, allocations: 4 kB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3569, allocations: 0 / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3569, allocations: 0 / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004011/0.3573, allocations: 351.4 kB / 0.77 GB, free: 25.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3574, allocations: 12.03 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3575, allocations: 0.9375 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.3576, allocations: 168.3 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3576, allocations: 384 / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.3576, allocations: 4.375 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3578, allocations: 46.23 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3578, allocations: 192 / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3578, allocations: 7.938 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3578, allocations: 4 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.358, allocations: 35.95 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3583, allocations: 244.9 kB / 0.7705 GB, free: 24.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3585, allocations: 50.47 kB / 0.7706 GB, free: 24.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.3585, allocations: 24.91 kB / 0.7706 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3586, allocations: 0 / 0.7706 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3586, allocations: 34.5 kB / 0.7706 GB, free: 24.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3586, allocations: 0 / 0.7706 GB, free: 24.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.359, allocations: 85.55 kB / 0.7707 GB, free: 24.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.359, allocations: 59.47 kB / 0.7708 GB, free: 24.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.3591, allocations: 101.8 kB / 0.7709 GB, free: 24.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.3591, allocations: 29.7 kB / 0.7709 GB, free: 24.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.3591, allocations: 80.14 kB / 0.771 GB, free: 24.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.3592, allocations: 7.844 kB / 0.771 GB, free: 24.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3592, allocations: 17.72 kB / 0.771 GB, free: 24.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.3593, allocations: 314.8 kB / 0.7713 GB, free: 23.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.3593, allocations: 19.98 kB / 0.7713 GB, free: 23.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.3594, allocations: 15.98 kB / 0.7713 GB, free: 23.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3596, allocations: 32.83 kB / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3596, allocations: 0 / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.3597, allocations: 73.59 kB / 0.7714 GB, free: 23.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3598, allocations: 8.031 kB / 0.7715 GB, free: 23.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3598, allocations: 0 / 0.7715 GB, free: 23.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3598, allocations: 4 kB / 0.7715 GB, free: 23.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.3599, allocations: 7.984 kB / 0.7715 GB, free: 23.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3599, allocations: 3.938 kB / 0.7715 GB, free: 23.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.3599, allocations: 11.98 kB / 0.7715 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.36, allocations: 3.984 kB / 0.7715 GB, free: 23.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.36, allocations: 113.8 kB / 0.7716 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.36, allocations: 4 kB / 0.7716 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.3603, allocations: 76.95 kB / 0.7717 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3603, allocations: 0 / 0.7717 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3603, allocations: 48 / 0.7717 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3603, allocations: 3.984 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3604, allocations: 165.6 kB / 0.7718 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3604, allocations: 3.938 kB / 0.7718 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.3605, allocations: 15.98 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3605, allocations: 0 / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3605, allocations: 4 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3605, allocations: 0 / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3605, allocations: 0 / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3609, allocations: 0.7317 MB / 0.7726 GB, free: 22.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.3609, allocations: 81.11 kB / 0.7726 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3609, allocations: 4 kB / 0.7727 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.361, allocations: 4 kB / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3611, allocations: 3.984 kB / 0.7727 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3611, allocations: 7.938 kB / 0.7727 GB, free: 22.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.121e-05/0.3611, allocations: 79.28 kB / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3611, allocations: 3.938 kB / 0.7727 GB, free: 22.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.3614, allocations: 12 kB / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.3615, allocations: 103.8 kB / 0.7729 GB, free: 22.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3617, allocations: 31.97 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3617, allocations: 3.938 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.3618, allocations: 23.97 kB / 0.7729 GB, free: 22.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3621, allocations: 8.062 kB / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3625, allocations: 231.2 kB / 0.7731 GB, free: 21.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3626, allocations: 0.677 MB / 0.7738 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.3627, allocations: 0 / 0.7738 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3627, allocations: 19.42 kB / 0.7738 GB, free: 21.19 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3627, allocations: 0 / 0.7738 GB, free: 21.19 MB / 458.7 MB Notification: Performance of Templates: time 0.002137/0.3648, allocations: 442.9 kB / 0.7742 GB, free: 20.78 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)