Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009279/0.0009278, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.074/1.074, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 83.41 MB / 0.5974 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00161/0.1652, allocations: 1.116 MB / 0.5984 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004744/0.1657, allocations: 263.4 kB / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.1657, allocations: 3.938 kB / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.1657, allocations: 0 / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.1658, allocations: 11.92 kB / 0.5987 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.166, allocations: 47.86 kB / 0.5988 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.1661, allocations: 11.98 kB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.1661, allocations: 11.98 kB / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.1662, allocations: 11.94 kB / 0.5988 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.992e-05/0.1662, allocations: 7.984 kB / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.1663, allocations: 0 / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.1665, allocations: 103.8 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.1665, allocations: 4 kB / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.1665, allocations: 25.7 kB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1666, allocations: 52.14 kB / 0.599 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1666, allocations: 0 / 0.599 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1666, allocations: 0 / 0.599 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.1666, allocations: 4 kB / 0.599 GB, free: 6.121 MB / 0.4981 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.0004277/0.1671, allocations: 359.1 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1671, allocations: 8.031 kB / 0.5993 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1672, allocations: 34.56 kB / 0.5994 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.1672, allocations: 7.953 kB / 0.5994 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1673, allocations: 159.1 kB / 0.5995 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1673, allocations: 0 / 0.5995 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.1673, allocations: 8 kB / 0.5995 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1675, allocations: 57.66 kB / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1675, allocations: 0 / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1675, allocations: 0 / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1676, allocations: 0 / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1677, allocations: 55.84 kB / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1681, allocations: 240.9 kB / 0.5999 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1682, allocations: 46.59 kB / 0.5999 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1682, allocations: 0 / 0.5999 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1683, allocations: 34.62 kB / 0.5999 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1683, allocations: 0 / 0.5999 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004092/0.1687, allocations: 109.4 kB / 0.6 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.1687, allocations: 51.41 kB / 0.6001 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.1688, allocations: 97.86 kB / 0.6002 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1688, allocations: 29.7 kB / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.1689, allocations: 84.12 kB / 0.6003 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.1689, allocations: 3.906 kB / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.1689, allocations: 4.125 kB / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.169, allocations: 314.8 kB / 0.6006 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.1691, allocations: 19.98 kB / 0.6006 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.1692, allocations: 19.98 kB / 0.6006 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/0.1693, allocations: 28.03 kB / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1693, allocations: 3.938 kB / 0.6007 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002117/0.1695, allocations: 77.61 kB / 0.6007 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1695, allocations: 4 kB / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1695, allocations: 7.984 kB / 0.6008 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1695, allocations: 0 / 0.6008 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.1696, allocations: 8 kB / 0.6008 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.1696, allocations: 3.953 kB / 0.6008 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.1697, allocations: 15.92 kB / 0.6008 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1697, allocations: 4 kB / 0.6008 GB, free: 4.039 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.1698, allocations: 109.9 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.1698, allocations: 0 / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1701, allocations: 80.78 kB / 0.601 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1701, allocations: 3.938 kB / 0.601 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.1701, allocations: 8.016 kB / 0.601 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1701, allocations: 7.953 kB / 0.601 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1702, allocations: 153.7 kB / 0.6011 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1703, allocations: 0 / 0.6011 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.1703, allocations: 11.98 kB / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1703, allocations: 0 / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1703, allocations: 0 / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1703, allocations: 0 / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1703, allocations: 0 / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1706, allocations: 179.5 kB / 0.6013 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.1706, allocations: 84.95 kB / 0.6014 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1707, allocations: 4 kB / 0.6014 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.1707, allocations: 16.02 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.1708, allocations: 0 / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1708, allocations: 0 / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.1708, allocations: 83.45 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 3.938 kB / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1711, allocations: 8 kB / 0.6015 GB, free: 3.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005894/0.1717, allocations: 0.7165 MB / 0.6022 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1719, allocations: 55.98 kB / 0.6023 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1719, allocations: 0 / 0.6023 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.172, allocations: 23.92 kB / 0.6023 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1722, allocations: 8.062 kB / 0.6023 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.1726, allocations: 154.2 kB / 0.6024 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1729, allocations: 0.677 MB / 0.6031 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.173, allocations: 4 kB / 0.6031 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.173, allocations: 11.44 kB / 0.6031 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.173, allocations: 0 / 0.6031 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.1844, allocations: 1.217 MB / 0.6043 GB, free: 424 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1846, allocations: 207.6 kB / 0.6045 GB, free: 176 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.838, allocations: 8.906 kB / 0.6045 GB, free: 176 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) Environment - environmentSimulation: