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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005495/0.005495, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.00103/0.00103, allocations: 185.2 kB / 16.67 MB, free: 5.965 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.315/1.315, 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.002261/0.002261, allocations: 290.5 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.941/0.941, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 96.09 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002139/0.1603, allocations: 1.41 MB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004828/0.1608, allocations: 279.1 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.1608, allocations: 4 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1609, allocations: 0 / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.1609, allocations: 11.86 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1612, allocations: 59.75 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.1613, allocations: 23.92 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.178e-05/0.1613, allocations: 4 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.1614, allocations: 15.97 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.1614, allocations: 7.938 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1614, allocations: 8 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1616, allocations: 91.78 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.1617, allocations: 4 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1617, allocations: 15.86 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1618, allocations: 67.8 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1618, allocations: 0 / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1618, allocations: 0 / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1618, allocations: 0 / 0.7683 GB, free: 6.453 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.0003976/0.1622, allocations: 347.4 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1623, allocations: 16.03 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1623, allocations: 0.9375 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1624, allocations: 168.3 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1625, allocations: 4.375 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1625, allocations: 4.312 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1626, allocations: 50.23 kB / 0.7689 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1626, allocations: 192 / 0.7689 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1627, allocations: 3.938 kB / 0.7689 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1627, allocations: 0 / 0.7689 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1628, allocations: 35.97 kB / 0.7689 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.1631, allocations: 249 kB / 0.7692 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1633, allocations: 38.44 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.1633, allocations: 20.91 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1634, allocations: 8 kB / 0.7692 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1634, allocations: 38.55 kB / 0.7693 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1634, allocations: 0 / 0.7693 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.1637, allocations: 77.66 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1638, allocations: 55.39 kB / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.1639, allocations: 105.9 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1639, allocations: 25.7 kB / 0.7695 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.1639, allocations: 80.14 kB / 0.7696 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.1639, allocations: 7.906 kB / 0.7696 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.164, allocations: 17.7 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.1641, allocations: 310.8 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.1642, allocations: 23.92 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.1642, allocations: 15.98 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1644, allocations: 40.81 kB / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1644, allocations: 0 / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.1646, allocations: 61.61 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1646, allocations: 8 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1646, allocations: 12.02 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1646, allocations: 0 / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.1647, allocations: 8 kB / 0.7701 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1647, allocations: 0 / 0.7701 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1648, allocations: 15.92 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1648, allocations: 3.938 kB / 0.7701 GB, free: 4.41 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 6.718e-05/0.1649, allocations: 110.4 kB / 0.7702 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1649, allocations: 7.906 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.1651, allocations: 72.97 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1651, allocations: 7.969 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1652, allocations: 4 kB / 0.7703 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1652, allocations: 0 / 0.7703 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1653, allocations: 157.6 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1653, allocations: 0 / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.1654, allocations: 15.92 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1654, allocations: 0 / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1654, allocations: 4.031 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1654, allocations: 0 / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1654, allocations: 3.984 kB / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1656, allocations: 163.5 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.1657, allocations: 81.11 kB / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.1657, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.1658, allocations: 12.02 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1658, allocations: 0 / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1658, allocations: 0 / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.1659, allocations: 79.28 kB / 0.7708 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1659, allocations: 0 / 0.7708 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000234/0.1661, allocations: 15.98 kB / 0.7708 GB, free: 3.594 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.0001388/0.1662, allocations: 115.2 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1665, allocations: 47.83 kB / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1665, allocations: 0 / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.1666, allocations: 15.98 kB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1668, allocations: 10.28 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.167, allocations: 114.6 kB / 0.7711 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1673, allocations: 0.6808 MB / 0.7717 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.1673, allocations: 3.938 kB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.1673, allocations: 11.38 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1673, allocations: 0 / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of Templates: time 0.002512/0.1698, allocations: 0.609 MB / 0.7723 GB, free: 1.938 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)