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.004044/0.004044, allocations: 99.69 kB / 15.73 MB, free: 6.477 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.001011/0.001011, allocations: 191.3 kB / 16.67 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002119, allocations: 274.8 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 95.86 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1558, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002407/0.1582, allocations: 1.408 MB / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005378/0.1588, allocations: 279.4 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.1588, allocations: 4 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.1589, allocations: 3.938 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.1589, allocations: 7.938 kB / 0.7675 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1593, allocations: 55.73 kB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.1594, allocations: 31.91 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1595, allocations: 8 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.1596, allocations: 8 kB / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.1596, allocations: 19.86 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1596, allocations: 0 / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1598, allocations: 87.84 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.1599, allocations: 4 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1599, allocations: 19.86 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1601, allocations: 59.86 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1601, allocations: 4 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1601, allocations: 0 / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1601, allocations: 0 / 0.7678 GB, free: 6.941 MB / 0.5606 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.0004774/0.1606, allocations: 347.4 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1606, allocations: 8.031 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.1607, allocations: 34.75 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1607, allocations: 12.88 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1608, allocations: 168.3 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1609, allocations: 384 / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1609, allocations: 4.375 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1611, allocations: 46.23 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1611, allocations: 3.938 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1611, allocations: 4 kB / 0.7684 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1611, allocations: 0 / 0.7684 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1613, allocations: 31.97 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1616, allocations: 248.9 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1617, allocations: 42.5 kB / 0.7687 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.1618, allocations: 24.91 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1619, allocations: 0 / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1619, allocations: 38.55 kB / 0.7688 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1619, allocations: 0 / 0.7688 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003529/0.1622, allocations: 81.59 kB / 0.7689 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1623, allocations: 55.39 kB / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.1624, allocations: 97.86 kB / 0.769 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1624, allocations: 29.83 kB / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.1624, allocations: 88.12 kB / 0.7691 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1625, allocations: 7.844 kB / 0.7691 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1625, allocations: 21.64 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1626, allocations: 314.8 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.1627, allocations: 11.98 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.1628, allocations: 19.98 kB / 0.7695 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1629, allocations: 40.88 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.163, allocations: 3.938 kB / 0.7695 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.1631, allocations: 65.61 kB / 0.7696 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1632, allocations: 4 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1632, allocations: 7.984 kB / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1632, allocations: 4.031 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.1633, allocations: 4 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1633, allocations: 0 / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.1633, allocations: 12.11 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1633, allocations: 0 / 0.7696 GB, free: 4.859 MB / 0.5606 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.158e-05/0.1634, allocations: 118.4 kB / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1635, allocations: 7.891 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1637, allocations: 76.72 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1637, allocations: 3.984 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1637, allocations: 0 / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1637, allocations: 0 / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1639, allocations: 157.6 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1639, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.1639, allocations: 11.98 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1639, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1639, allocations: 4 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.164, allocations: 32 / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.164, allocations: 4 kB / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1642, allocations: 163.5 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1642, allocations: 77.11 kB / 0.7702 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1642, allocations: 0 / 0.7702 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1643, allocations: 7.984 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.1644, allocations: 8.031 kB / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1644, allocations: 3.938 kB / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.1644, allocations: 83.28 kB / 0.7703 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1644, allocations: 0 / 0.7703 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002226/0.1646, allocations: 11.98 kB / 0.7703 GB, free: 4.039 MB / 0.5606 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.0005488/0.1652, allocations: 0.7123 MB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1654, allocations: 39.95 kB / 0.7711 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1654, allocations: 0 / 0.7711 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.1655, allocations: 23.92 kB / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1658, allocations: 8.562 kB / 0.7711 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.1663, allocations: 152.3 kB / 0.7712 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1665, allocations: 0.6729 MB / 0.7719 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.1665, allocations: 7.922 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1666, allocations: 11.44 kB / 0.7719 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1666, allocations: 0 / 0.7719 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1837, allocations: 1.508 MB / 0.7734 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.158, allocations: 14.42 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 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 & /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)