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.00205/0.00205, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002444/0.002444, allocations: 194.6 kB / 16.14 MB, free: 6.645 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 278.9 kB / 290.2 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 101.8 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 89.16 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002856/0.1754, allocations: 1.475 MB / 0.6942 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005927/0.1761, allocations: 291.1 kB / 0.6945 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.1761, allocations: 4 kB / 0.6945 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1761, allocations: 0 / 0.6945 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.1762, allocations: 7.922 kB / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1765, allocations: 51.81 kB / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.1765, allocations: 19.94 kB / 0.6946 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.1766, allocations: 8 kB / 0.6946 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.1767, allocations: 7.984 kB / 0.6946 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.1767, allocations: 19.91 kB / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1767, allocations: 0 / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.177, allocations: 95.78 kB / 0.6947 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.177, allocations: 0 / 0.6947 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.177, allocations: 11.94 kB / 0.6947 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1772, allocations: 72.06 kB / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1772, allocations: 4 kB / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1772, allocations: 0 / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1772, allocations: 0 / 0.6948 GB, free: 2.77 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.0005081/0.1777, allocations: 347.4 kB / 0.6951 GB, free: 2.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1778, allocations: 8.031 kB / 0.6951 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1778, allocations: 4.938 kB / 0.6951 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.178, allocations: 164.3 kB / 0.6953 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.178, allocations: 384 / 0.6953 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.178, allocations: 384 / 0.6953 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1782, allocations: 54.23 kB / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1782, allocations: 192 / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1782, allocations: 3.938 kB / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1782, allocations: 4 kB / 0.6954 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1784, allocations: 31.95 kB / 0.6954 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1787, allocations: 256.8 kB / 0.6956 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1789, allocations: 42.53 kB / 0.6957 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.179, allocations: 20.91 kB / 0.6957 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.179, allocations: 7.922 kB / 0.6957 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.179, allocations: 30.56 kB / 0.6957 GB, free: 1.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.179, allocations: 0 / 0.6957 GB, free: 1.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003516/0.1794, allocations: 89.58 kB / 0.6958 GB, free: 1.555 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1795, allocations: 51.41 kB / 0.6959 GB, free: 1.492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.1796, allocations: 101.8 kB / 0.696 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1796, allocations: 29.7 kB / 0.696 GB, free: 1.348 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.1796, allocations: 80.14 kB / 0.6961 GB, free: 1.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1797, allocations: 7.906 kB / 0.6961 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.1798, allocations: 21.78 kB / 0.6961 GB, free: 1.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.18, allocations: 314.8 kB / 0.6964 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.1801, allocations: 15.98 kB / 0.6964 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.1801, allocations: 15.98 kB / 0.6964 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1803, allocations: 36.89 kB / 0.6965 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1803, allocations: 0 / 0.6965 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.1805, allocations: 73.53 kB / 0.6965 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1805, allocations: 4 kB / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1805, allocations: 0 / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1806, allocations: 4 kB / 0.6965 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.1807, allocations: 11.98 kB / 0.6966 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1807, allocations: 3.984 kB / 0.6966 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1807, allocations: 12.02 kB / 0.6966 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1807, allocations: 0 / 0.6966 GB, free: 0.7305 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 8.891e-05/0.1808, allocations: 113.8 kB / 0.6967 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1809, allocations: 0 / 0.6967 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.1811, allocations: 72.72 kB / 0.6967 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1811, allocations: 4 kB / 0.6967 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1811, allocations: 4.031 kB / 0.6968 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1811, allocations: 0 / 0.6968 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1813, allocations: 165.5 kB / 0.6969 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1813, allocations: 0 / 0.6969 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.1814, allocations: 4 kB / 0.6969 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1814, allocations: 7.984 kB / 0.6969 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1814, allocations: 4 kB / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1814, allocations: 0 / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1814, allocations: 0 / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1817, allocations: 171.4 kB / 0.6971 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.1817, allocations: 81.05 kB / 0.6972 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1817, allocations: 0 / 0.6972 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.1818, allocations: 4 kB / 0.6972 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1819, allocations: 7.984 kB / 0.6972 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1819, allocations: 0 / 0.6972 GB, free: 8 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.182, allocations: 87.3 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.182, allocations: 0 / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002372/0.1822, allocations: 12 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB 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.0001719/0.1824, allocations: 115.1 kB / 0.6974 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1826, allocations: 35.95 kB / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1826, allocations: 0 / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.1827, allocations: 20.05 kB / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.183, allocations: 11.94 kB / 0.6974 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.1833, allocations: 116.4 kB / 0.6976 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1836, allocations: 0.677 MB / 0.6982 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.1837, allocations: 0 / 0.6982 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.1837, allocations: 15.5 kB / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1837, allocations: 0 / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.003096/0.1868, allocations: 0.5394 MB / 0.6988 GB, free: 14.33 MB / 0.4981 GB 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)