Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009879/0.000988, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 287.7 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8884/0.8884, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 94.23 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1567, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002649/0.1594, allocations: 1.412 MB / 0.683 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005121/0.1599, allocations: 291.1 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.16, allocations: 0 / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.16, allocations: 3.938 kB / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.1601, allocations: 3.984 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1603, allocations: 55.75 kB / 0.6833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.1604, allocations: 23.86 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.1605, allocations: 12 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1606, allocations: 7.984 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.1606, allocations: 15.92 kB / 0.6834 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1606, allocations: 4 kB / 0.6834 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1608, allocations: 79.86 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1608, allocations: 15.97 kB / 0.6835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1609, allocations: 3.938 kB / 0.6835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.161, allocations: 67.81 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.161, allocations: 0 / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.161, allocations: 0 / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.161, allocations: 4 kB / 0.6835 GB, free: 5.484 MB / 494.1 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.000406/0.1615, allocations: 351.4 kB / 0.6839 GB, free: 5.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1615, allocations: 15.97 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1615, allocations: 4.844 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1616, allocations: 164.4 kB / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1617, allocations: 4.375 kB / 0.684 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1617, allocations: 384 / 0.684 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1618, allocations: 54.23 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1618, allocations: 192 / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1619, allocations: 3.938 kB / 0.6841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1619, allocations: 0 / 0.6841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.162, allocations: 35.95 kB / 0.6841 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.1623, allocations: 244.9 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1624, allocations: 42.5 kB / 0.6844 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.1625, allocations: 24.89 kB / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1625, allocations: 0 / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1626, allocations: 34.56 kB / 0.6845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1626, allocations: 0 / 0.6845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003022/0.1629, allocations: 85.58 kB / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1629, allocations: 55.41 kB / 0.6846 GB, free: 4.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.163, allocations: 93.86 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.163, allocations: 29.64 kB / 0.6847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.1631, allocations: 92.03 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.1631, allocations: 0 / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.1631, allocations: 13.72 kB / 0.6848 GB, free: 3.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.1632, allocations: 319 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.1633, allocations: 15.98 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.1634, allocations: 19.97 kB / 0.6852 GB, free: 3.598 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1635, allocations: 36.83 kB / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1635, allocations: 0 / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.1637, allocations: 77.5 kB / 0.6853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1637, allocations: 8 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1637, allocations: 0 / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1637, allocations: 0 / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.1638, allocations: 7.984 kB / 0.6853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1638, allocations: 4 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.1639, allocations: 0 / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1639, allocations: 4.188 kB / 0.6853 GB, free: 3.453 MB / 494.1 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 6.741e-05/0.164, allocations: 125.7 kB / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.164, allocations: 0 / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.1642, allocations: 80.64 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1642, allocations: 0 / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1642, allocations: 4 kB / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1642, allocations: 0 / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.1644, allocations: 157.6 kB / 0.6856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1644, allocations: 4.031 kB / 0.6856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.1644, allocations: 11.98 kB / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1645, allocations: 0 / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1645, allocations: 0 / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1645, allocations: 0 / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1645, allocations: 0 / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1647, allocations: 171.5 kB / 0.6858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.1647, allocations: 81.02 kB / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1647, allocations: 7.984 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.1648, allocations: 4 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1649, allocations: 7.938 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1649, allocations: 0 / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.1649, allocations: 87.2 kB / 0.686 GB, free: 2.625 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1649, allocations: 0 / 0.686 GB, free: 2.625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1651, allocations: 12 kB / 0.686 GB, free: 2.613 MB / 494.1 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 (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 Backend phase and start with SimCode phase: time 0.0001427/0.1653, allocations: 111.3 kB / 0.6861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1655, allocations: 35.97 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1655, allocations: 0 / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.684e-05/0.1655, allocations: 23.97 kB / 0.6862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1658, allocations: 9.375 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.1661, allocations: 117.6 kB / 0.6863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1663, allocations: 0.6768 MB / 0.687 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.793e-05/0.1663, allocations: 0 / 0.687 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.1663, allocations: 15.44 kB / 0.687 GB, free: 1.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1663, allocations: 0 / 0.687 GB, free: 1.57 MB / 494.1 MB Notification: Performance of Templates: time 0.002426/0.1688, allocations: 0.6112 MB / 0.6876 GB, free: 0.9727 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)