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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 195 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 282.6 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 98.48 kB / 0.5952 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 86.98 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002436/0.1547, allocations: 1.414 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004866/0.1552, allocations: 287.1 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.1553, allocations: 0 / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.1553, allocations: 4 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.1553, allocations: 3.938 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1556, allocations: 51.75 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.1557, allocations: 31.92 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.1558, allocations: 8 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.1558, allocations: 15.97 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.1558, allocations: 11.88 kB / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1559, allocations: 0 / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.156, allocations: 87.84 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1561, allocations: 7.984 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1561, allocations: 11.94 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1562, allocations: 64.08 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1562, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1562, allocations: 4 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1563, allocations: 0 / 0.6821 GB, free: 14.7 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.0004142/0.1567, allocations: 347.5 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1567, allocations: 8.031 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1567, allocations: 8.828 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.41e-05/0.1568, allocations: 168.3 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1569, allocations: 384 / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1569, allocations: 384 / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.157, allocations: 50.23 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1571, allocations: 192 / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1571, allocations: 7.938 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1571, allocations: 0 / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.1573, allocations: 35.95 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.1575, allocations: 249 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1577, allocations: 42.44 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.1578, allocations: 28.89 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1578, allocations: 0 / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1578, allocations: 30.56 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1578, allocations: 0 / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000321/0.1581, allocations: 85.73 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1582, allocations: 55.34 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.1582, allocations: 101.8 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1583, allocations: 25.7 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1583, allocations: 88.05 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1583, allocations: 3.984 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1584, allocations: 21.66 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.1585, allocations: 310.8 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.1586, allocations: 20.02 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.1586, allocations: 11.98 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1588, allocations: 40.81 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1588, allocations: 0 / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.159, allocations: 81.5 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.159, allocations: 4 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.159, allocations: 0 / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.159, allocations: 0 / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.1591, allocations: 8 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1591, allocations: 3.984 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1592, allocations: 8 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1592, allocations: 0 / 0.6839 GB, free: 12.66 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.984e-05/0.1593, allocations: 123.1 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1593, allocations: 0 / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1595, allocations: 72.77 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.1595, allocations: 4 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1595, allocations: 4 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1595, allocations: 0 / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1597, allocations: 157.6 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1597, allocations: 3.969 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.1598, allocations: 11.98 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1598, allocations: 0 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1598, allocations: 4 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1598, allocations: 0 / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1598, allocations: 0 / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.16, allocations: 167.5 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.1601, allocations: 81.02 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1601, allocations: 0 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.1602, allocations: 7.984 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1602, allocations: 0 / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1602, allocations: 4 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.1602, allocations: 83.2 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1603, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1605, allocations: 12 kB / 0.6846 GB, free: 11.84 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.0001467/0.1606, allocations: 131.1 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1609, allocations: 31.97 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1609, allocations: 0 / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.161, allocations: 15.98 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1612, allocations: 16.67 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.1615, allocations: 114.9 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.1617, allocations: 0.6767 MB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.88e-05/0.1617, allocations: 0 / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.1617, allocations: 7.438 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1617, allocations: 0 / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of Templates: time 0.00241/0.1641, allocations: 0.6006 MB / 0.6861 GB, free: 10.2 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)