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.00131/0.00131, allocations: 108 kB / 15.61 MB, free: 152 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.00147/0.001471, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.384/1.384, 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.002419/0.002419, allocations: 295 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 91.86 kB / 0.6065 GB, free: 24.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1542, allocations: 89.14 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002932/0.1572, allocations: 1.418 MB / 0.695 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.1578, allocations: 287.2 kB / 0.6952 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1578, allocations: 0 / 0.6952 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.1578, allocations: 5.219 kB / 0.6953 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.075e-05/0.1579, allocations: 3.984 kB / 0.6953 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1582, allocations: 60.55 kB / 0.6953 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.1583, allocations: 23.88 kB / 0.6953 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.1584, allocations: 9.578 kB / 0.6953 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.1584, allocations: 8 kB / 0.6954 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.1585, allocations: 15.92 kB / 0.6954 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1585, allocations: 0.625 kB / 0.6954 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.1587, allocations: 87.84 kB / 0.6955 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1587, allocations: 8.578 kB / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.1588, allocations: 7.938 kB / 0.6955 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1589, allocations: 69.55 kB / 0.6955 GB, free: 2.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1589, allocations: 3.984 kB / 0.6955 GB, free: 2.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1589, allocations: 0 / 0.6955 GB, free: 2.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.159, allocations: 0 / 0.6955 GB, free: 2.215 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.0005059/0.1595, allocations: 350.7 kB / 0.6959 GB, free: 1.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1595, allocations: 12.03 kB / 0.6959 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1596, allocations: 38.69 kB / 0.6959 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.1596, allocations: 0.9375 kB / 0.6959 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1597, allocations: 160.4 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1597, allocations: 4.375 kB / 0.6961 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1598, allocations: 5.875 kB / 0.6961 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.16, allocations: 50.23 kB / 0.6961 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.16, allocations: 3.938 kB / 0.6961 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.16, allocations: 0.6562 kB / 0.6961 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.16, allocations: 3.984 kB / 0.6961 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1602, allocations: 37.52 kB / 0.6962 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1605, allocations: 252.8 kB / 0.6964 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1606, allocations: 42.53 kB / 0.6965 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.1607, allocations: 20.91 kB / 0.6965 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1608, allocations: 0 / 0.6965 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1608, allocations: 38.56 kB / 0.6965 GB, free: 1.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1608, allocations: 0 / 0.6965 GB, free: 1.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.1612, allocations: 85.58 kB / 0.6966 GB, free: 0.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1612, allocations: 51.41 kB / 0.6966 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.1613, allocations: 101.8 kB / 0.6967 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1613, allocations: 25.7 kB / 0.6968 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1614, allocations: 84.27 kB / 0.6968 GB, free: 0.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1614, allocations: 11.91 kB / 0.6969 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.1614, allocations: 9.719 kB / 0.6969 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1616, allocations: 314.8 kB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.1617, allocations: 19.97 kB / 0.6972 GB, free: 312 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1617, allocations: 15.98 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1619, allocations: 40.89 kB / 0.6972 GB, free: 252 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1619, allocations: 3.938 kB / 0.6972 GB, free: 248 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.1621, allocations: 65.59 kB / 0.6973 GB, free: 176 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1621, allocations: 8 kB / 0.6973 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1621, allocations: 0 / 0.6973 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1621, allocations: 0 / 0.6973 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1623, allocations: 7.984 kB / 0.6973 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1623, allocations: 8.031 kB / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.1623, allocations: 7.984 kB / 0.6973 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1623, allocations: 0 / 0.6973 GB, free: 144 kB / 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.61e-05/0.1624, allocations: 113.8 kB / 0.6974 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1624, allocations: 0 / 0.6974 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.1627, allocations: 76.66 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1627, allocations: 4.031 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1627, allocations: 0 / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1627, allocations: 3.938 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1629, allocations: 169.5 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1629, allocations: 0 / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.163, allocations: 8 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.163, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.163, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.163, allocations: 3.984 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.163, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1633, allocations: 163.5 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1633, allocations: 85.09 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1633, allocations: 0 / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.1634, allocations: 7.938 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1635, allocations: 3.984 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1635, allocations: 7.938 kB / 0.698 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.1635, allocations: 83.31 kB / 0.698 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1635, allocations: 0 / 0.698 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002268/0.1638, allocations: 12 kB / 0.698 GB, free: 15.32 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.0005923/0.1644, allocations: 0.7124 MB / 0.6987 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1646, allocations: 39.89 kB / 0.6988 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1646, allocations: 0 / 0.6988 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.1647, allocations: 19.98 kB / 0.6988 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.165, allocations: 0.75 kB / 0.6988 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.1654, allocations: 150.8 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1657, allocations: 0.6768 MB / 0.6996 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.1657, allocations: 0 / 0.6996 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1658, allocations: 15.44 kB / 0.6996 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1658, allocations: 0 / 0.6996 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.1885, allocations: 1.483 MB / 0.7011 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.7, allocations: 3.75 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB (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)