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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, 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.001689/0.001689, allocations: 193.1 kB / 16.13 MB, free: 6.707 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 278.5 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9432/0.9432, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 96.97 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1655, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002682/0.1683, allocations: 1.462 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.1689, allocations: 292.8 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.1689, allocations: 4.906 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.1689, allocations: 0 / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.169, allocations: 4.656 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1693, allocations: 53.66 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.1693, allocations: 23.92 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.1694, allocations: 7.984 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.1695, allocations: 4 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.1695, allocations: 16.42 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1695, allocations: 4 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1697, allocations: 95.78 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1698, allocations: 0 / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1698, allocations: 15.92 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1699, allocations: 67.73 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.17, allocations: 4 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.17, allocations: 0 / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.17, allocations: 0 / 0.6815 GB, free: 15.06 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.0004427/0.1704, allocations: 347.5 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1705, allocations: 8.031 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1705, allocations: 38.73 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.1705, allocations: 8.844 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1706, allocations: 160.4 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1707, allocations: 4.375 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.1707, allocations: 4.375 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1708, allocations: 46.23 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1708, allocations: 3.938 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1709, allocations: 11.98 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1709, allocations: 0 / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1711, allocations: 35.89 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1714, allocations: 241.5 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1715, allocations: 42.5 kB / 0.6824 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.1716, allocations: 28.89 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1716, allocations: 0 / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1716, allocations: 34.5 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1717, allocations: 0 / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003592/0.172, allocations: 81.64 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1721, allocations: 59.44 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.1721, allocations: 97.86 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1722, allocations: 25.7 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.1722, allocations: 92.06 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.1722, allocations: 3.906 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1723, allocations: 13.72 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1724, allocations: 314.8 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.1725, allocations: 15.98 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.1726, allocations: 23.97 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1727, allocations: 36.77 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1727, allocations: 7.875 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.1729, allocations: 69.72 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.173, allocations: 4 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.173, allocations: 0 / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.173, allocations: 4 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.1731, allocations: 7.984 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1731, allocations: 0 / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1731, allocations: 7.938 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1731, allocations: 0 / 0.6833 GB, free: 12.98 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 7.937e-05/0.1732, allocations: 119.1 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1733, allocations: 7.984 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.1735, allocations: 72.72 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1735, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1735, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1735, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1737, allocations: 161.6 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1737, allocations: 0 / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.1737, allocations: 16.02 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1737, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1738, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1738, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1738, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.174, allocations: 167.4 kB / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.1741, allocations: 85.05 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1741, allocations: 4 kB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.1742, allocations: 7.984 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1742, allocations: 4 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1742, allocations: 0 / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.62e-05/0.1743, allocations: 87.27 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1743, allocations: 3.938 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1745, allocations: 12 kB / 0.6841 GB, free: 12.15 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.000552/0.1751, allocations: 0.7085 MB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1753, allocations: 35.97 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1753, allocations: 4.094 kB / 0.6848 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.1754, allocations: 19.97 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1757, allocations: 9.203 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.1761, allocations: 150 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1763, allocations: 0.677 MB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.1764, allocations: 8 kB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1764, allocations: 15.44 kB / 0.6856 GB, free: 10.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1764, allocations: 0 / 0.6856 GB, free: 10.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.1874, allocations: 1.295 MB / 0.6869 GB, free: 9.285 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.1876, allocations: 232.2 kB / 0.6871 GB, free: 9.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.919, allocations: 2.109 kB / 0.6871 GB, free: 9.027 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)