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.001059/0.001059, 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.001193/0.001193, allocations: 193.7 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9452/0.9452, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001826, allocations: 97.53 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1465, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002686/0.1492, allocations: 1.397 MB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006187/0.1498, allocations: 293.7 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1499, allocations: 4 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.1499, allocations: 3.938 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.15, allocations: 3.938 kB / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1504, allocations: 56.52 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.1504, allocations: 21.66 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.1505, allocations: 15.97 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.1506, allocations: 4 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.1506, allocations: 15.92 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1506, allocations: 0.6562 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1508, allocations: 92.28 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.1509, allocations: 4 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.1509, allocations: 12.81 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1511, allocations: 71.78 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1511, allocations: 0.5312 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1511, allocations: 1.156 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1511, allocations: 0 / 0.6822 GB, free: 14.59 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.0004393/0.1515, allocations: 344.4 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1516, allocations: 8.031 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.1516, allocations: 34.75 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1517, allocations: 8.844 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1518, allocations: 160.4 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1518, allocations: 8.297 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1518, allocations: 4.375 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.152, allocations: 42.25 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.152, allocations: 7.938 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.152, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.152, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1522, allocations: 35.95 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1525, allocations: 248.9 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1526, allocations: 46.47 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.1527, allocations: 20.91 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1527, allocations: 0 / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1528, allocations: 30.56 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1528, allocations: 4 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.1531, allocations: 81.55 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1532, allocations: 55.47 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.1533, allocations: 109.8 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1533, allocations: 25.7 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.1533, allocations: 80.14 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1533, allocations: 11.84 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1534, allocations: 13.72 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.1535, allocations: 314.8 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.1536, allocations: 15.98 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1536, allocations: 23.92 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1538, allocations: 32.83 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.1538, allocations: 7.938 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001954/0.154, allocations: 69.59 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.154, allocations: 9.969 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1541, allocations: 4 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1541, allocations: 0 / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.1542, allocations: 7.984 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.1542, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1542, allocations: 11.92 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.1542, allocations: 0 / 0.684 GB, free: 12.51 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.067e-05/0.1543, allocations: 115.1 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1543, allocations: 0 / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1546, allocations: 76.78 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1546, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1546, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1546, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1547, allocations: 165.8 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1547, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.1548, allocations: 15.92 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1548, allocations: 3.984 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1548, allocations: 8.031 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1548, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1548, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1551, allocations: 163.5 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.1551, allocations: 81.02 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1551, allocations: 4 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1552, allocations: 8.016 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1552, allocations: 4 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1552, allocations: 0 / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.1553, allocations: 83.28 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1553, allocations: 0 / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1555, allocations: 15.94 kB / 0.6847 GB, free: 11.68 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.0005685/0.1561, allocations: 0.7124 MB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1563, allocations: 39.95 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1563, allocations: 3.938 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.1564, allocations: 24.02 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1567, allocations: 4.75 kB / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1572, allocations: 148.3 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1574, allocations: 0.6729 MB / 0.6863 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.1574, allocations: 0 / 0.6863 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1575, allocations: 11.5 kB / 0.6863 GB, free: 9.977 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1575, allocations: 0 / 0.6863 GB, free: 9.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1748, allocations: 1.476 MB / 0.6877 GB, free: 8.629 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.076, allocations: 17.83 kB / 0.6878 GB, free: 8.613 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)