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.00139/0.00139, allocations: 109.4 kB / 15.99 MB, free: 6.352 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.001356/0.001356, allocations: 192.4 kB / 16.91 MB, free: 6.18 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002332/0.002332, allocations: 290.5 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 178.5 MB / 0.5076 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 99.84 kB / 0.6066 GB, free: 9.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1601, allocations: 89.13 MB / 0.6936 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002446/0.1626, allocations: 1.478 MB / 0.6951 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.1631, allocations: 283.1 kB / 0.6953 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1631, allocations: 0 / 0.6953 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.1632, allocations: 4 kB / 0.6953 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.1632, allocations: 7.938 kB / 0.6953 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1635, allocations: 47.81 kB / 0.6954 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1635, allocations: 27.86 kB / 0.6954 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.1636, allocations: 8 kB / 0.6954 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.1636, allocations: 15.91 kB / 0.6954 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.1637, allocations: 8 kB / 0.6954 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.375e-06/0.1637, allocations: 0 / 0.6954 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1639, allocations: 99.78 kB / 0.6955 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1639, allocations: 7.984 kB / 0.6955 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1639, allocations: 11.94 kB / 0.6956 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.164, allocations: 44.16 kB / 0.6956 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.164, allocations: 0 / 0.6956 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.164, allocations: 0 / 0.6956 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.164, allocations: 0 / 0.6956 GB, free: 14.46 MB / 0.545 GB 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.0004169/0.1645, allocations: 351.4 kB / 0.6959 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1645, allocations: 12.03 kB / 0.6959 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.1645, allocations: 4.844 kB / 0.696 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1647, allocations: 168.4 kB / 0.6961 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1647, allocations: 8.375 kB / 0.6961 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1647, allocations: 384 / 0.6961 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1649, allocations: 54.17 kB / 0.6962 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1649, allocations: 4.188 kB / 0.6962 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1649, allocations: 3.938 kB / 0.6962 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1649, allocations: 0 / 0.6962 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1651, allocations: 31.97 kB / 0.6962 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.1654, allocations: 249 kB / 0.6964 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1655, allocations: 38.5 kB / 0.6965 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.1656, allocations: 20.91 kB / 0.6965 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1656, allocations: 3.938 kB / 0.6965 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1656, allocations: 42.55 kB / 0.6965 GB, free: 13.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1656, allocations: 0 / 0.6965 GB, free: 13.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003012/0.1659, allocations: 73.56 kB / 0.6966 GB, free: 13.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.166, allocations: 59.39 kB / 0.6967 GB, free: 13.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.1661, allocations: 97.86 kB / 0.6968 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1661, allocations: 25.83 kB / 0.6968 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.1661, allocations: 88.14 kB / 0.6969 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1662, allocations: 7.906 kB / 0.6969 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1662, allocations: 13.7 kB / 0.6969 GB, free: 12.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1663, allocations: 310.8 kB / 0.6972 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.1664, allocations: 19.98 kB / 0.6972 GB, free: 12.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.1665, allocations: 15.92 kB / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1666, allocations: 48.88 kB / 0.6973 GB, free: 12.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1666, allocations: 0 / 0.6973 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.1668, allocations: 61.61 kB / 0.6973 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1668, allocations: 11.94 kB / 0.6973 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1668, allocations: 3.984 kB / 0.6973 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.1669, allocations: 0 / 0.6973 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.1669, allocations: 8.031 kB / 0.6974 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1669, allocations: 4 kB / 0.6974 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.167, allocations: 7.984 kB / 0.6974 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.167, allocations: 3.938 kB / 0.6974 GB, free: 12.42 MB / 0.545 GB 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 7.704e-05/0.1671, allocations: 117 kB / 0.6975 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.1671, allocations: 0 / 0.6975 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.1673, allocations: 76.97 kB / 0.6976 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1673, allocations: 7.969 kB / 0.6976 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1674, allocations: 0 / 0.6976 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1674, allocations: 0 / 0.6976 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1675, allocations: 161.5 kB / 0.6977 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1675, allocations: 0 / 0.6977 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.1676, allocations: 11.98 kB / 0.6977 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1676, allocations: 0 / 0.6977 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1676, allocations: 0 / 0.6977 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1676, allocations: 0 / 0.6977 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1676, allocations: 4.031 kB / 0.6977 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1679, allocations: 167.4 kB / 0.6979 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1679, allocations: 85.02 kB / 0.698 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.1679, allocations: 0 / 0.698 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.168, allocations: 11.98 kB / 0.698 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.168, allocations: 4.031 kB / 0.698 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.168, allocations: 0 / 0.698 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.1681, allocations: 87.27 kB / 0.6981 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1681, allocations: 0 / 0.6981 GB, free: 11.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002167/0.1683, allocations: 8 kB / 0.6981 GB, free: 11.6 MB / 0.545 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.0001397/0.1685, allocations: 107.2 kB / 0.6982 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1687, allocations: 47.89 kB / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1687, allocations: 0 / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.1688, allocations: 19.98 kB / 0.6982 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.169, allocations: 6.891 kB / 0.6983 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.1693, allocations: 144.3 kB / 0.6984 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1696, allocations: 0.6846 MB / 0.6991 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.1696, allocations: 7.438 kB / 0.6991 GB, free: 10.52 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.1696, allocations: 0 / 0.6991 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Templates: time 0.001986/0.1716, allocations: 0.6822 MB / 0.6997 GB, free: 9.84 MB / 0.545 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)