Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00109/0.00109, allocations: 195.2 kB / 16.14 MB, free: 6.715 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 270.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 96.16 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.155, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002687/0.1577, allocations: 1.761 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007563/0.1585, allocations: 0.509 MB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.1585, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.1589, allocations: 147.7 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.159, allocations: 51.73 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1592, allocations: 55.8 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1595, allocations: 215.3 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1595, allocations: 11.94 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.1596, allocations: 23.88 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1597, allocations: 67.75 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1597, allocations: 0 / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1599, allocations: 87.84 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.16, allocations: 55.8 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.16, allocations: 67.55 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1603, allocations: 179.4 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1603, allocations: 0 / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1603, allocations: 8 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1603, allocations: 0 / 0.6826 GB, free: 13.97 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.0006083/0.1609, allocations: 478.3 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.161, allocations: 12.03 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.161, allocations: 20.66 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1612, allocations: 215.7 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1612, allocations: 4.375 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1612, allocations: 384 / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1614, allocations: 66.22 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1614, allocations: 3.938 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1615, allocations: 0 / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1615, allocations: 4 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1616, allocations: 59.89 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.1621, allocations: 332.8 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1622, allocations: 70.48 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.1624, allocations: 36.89 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.1624, allocations: 8 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1624, allocations: 30.56 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.286e-06/0.1624, allocations: 3.984 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.1628, allocations: 137.4 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1629, allocations: 55.41 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1631, allocations: 254.7 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1631, allocations: 25.7 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1632, allocations: 136.1 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1632, allocations: 3.906 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1632, allocations: 17.84 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1634, allocations: 334.8 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.1635, allocations: 23.98 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.1635, allocations: 31.97 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1637, allocations: 64.88 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1637, allocations: 7.875 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002197/0.164, allocations: 113.3 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.164, allocations: 7.984 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.164, allocations: 4 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.164, allocations: 0 / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.1641, allocations: 4 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1641, allocations: 0 / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.1642, allocations: 12.02 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1642, allocations: 0 / 0.685 GB, free: 11.23 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 0.0001489/0.1643, allocations: 143.1 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1644, allocations: 15.81 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1647, allocations: 110.5 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1647, allocations: 7.984 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1647, allocations: 4.031 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1647, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1649, allocations: 217.6 kB / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1649, allocations: 4 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.165, allocations: 7.984 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.165, allocations: 7.938 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.165, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.165, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.165, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1653, allocations: 211.2 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1653, allocations: 88.92 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1654, allocations: 0 / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.1655, allocations: 7.984 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1655, allocations: 7.938 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1655, allocations: 0 / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1656, allocations: 189.9 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1657, allocations: 4.031 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1659, allocations: 39.94 kB / 0.6861 GB, free: 10.08 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.0001702/0.1661, allocations: 123.2 kB / 0.6862 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1663, allocations: 63.94 kB / 0.6862 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1663, allocations: 4 kB / 0.6862 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.1664, allocations: 32.05 kB / 0.6863 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1668, allocations: 46.34 kB / 0.6863 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.1675, allocations: 370.7 kB / 0.6867 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1678, allocations: 0.7355 MB / 0.6874 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.1678, allocations: 11.92 kB / 0.6874 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.1679, allocations: 7.438 kB / 0.6874 GB, free: 8.645 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1679, allocations: 0 / 0.6874 GB, free: 8.645 MB / 494.1 MB Notification: Performance of Templates: time 0.004757/0.1726, allocations: 1.687 MB / 0.6891 GB, free: 6.988 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)