Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001114/0.001115, allocations: 188.5 kB / 16.13 MB, free: 6.66 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 286.6 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9424/0.9424, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 100.9 kB / 0.5945 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1549, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002939/0.1579, allocations: 1.758 MB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007582/0.1587, allocations: 474.7 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.1587, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.1592, allocations: 148.9 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.1593, allocations: 55.73 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1595, allocations: 48.75 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.1598, allocations: 203.4 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.1598, allocations: 11.94 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.1599, allocations: 31.86 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.16, allocations: 67.69 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.16, allocations: 0 / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.1602, allocations: 87.84 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.1603, allocations: 55.84 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1604, allocations: 63.56 kB / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1606, allocations: 171.4 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1606, allocations: 7.922 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1606, allocations: 0 / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1606, allocations: 4 kB / 0.6825 GB, free: 14.01 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.000583/0.1612, allocations: 474.3 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1613, allocations: 8.031 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1613, allocations: 20.66 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1615, allocations: 219.7 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1615, allocations: 384 / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1615, allocations: 4.375 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1617, allocations: 54.23 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1617, allocations: 7.922 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1617, allocations: 0 / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1617, allocations: 7.984 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1619, allocations: 35.97 kB / 0.6833 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.1624, allocations: 316.8 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1625, allocations: 50.48 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1626, allocations: 24.91 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1627, allocations: 4 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1627, allocations: 30.56 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1627, allocations: 0 / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004162/0.1631, allocations: 117.4 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1632, allocations: 51.41 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1634, allocations: 258.7 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1635, allocations: 25.7 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.1636, allocations: 136.1 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1636, allocations: 3.906 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1636, allocations: 21.84 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1638, allocations: 330.8 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.1638, allocations: 15.98 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.1639, allocations: 23.97 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1641, allocations: 40.83 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1641, allocations: 8 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.1643, allocations: 97.31 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1643, allocations: 8 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1643, allocations: 3.938 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1644, allocations: 3.984 kB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.1645, allocations: 4 kB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1645, allocations: 0 / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.1645, allocations: 8.016 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1646, allocations: 8 kB / 0.6848 GB, free: 11.42 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.000107/0.1647, allocations: 139.1 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1647, allocations: 15.81 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.165, allocations: 98.45 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.165, allocations: 3.938 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.165, allocations: 0 / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.165, allocations: 8.031 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1652, allocations: 213.5 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1652, allocations: 0 / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.1653, allocations: 7.984 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1653, allocations: 4 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1653, allocations: 0 / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1653, allocations: 0 / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1653, allocations: 0 / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1656, allocations: 191.2 kB / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1656, allocations: 92.91 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1657, allocations: 0 / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.1658, allocations: 4 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1658, allocations: 11.92 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1658, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.166, allocations: 186 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.166, allocations: 4.031 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1663, allocations: 39.98 kB / 0.6858 GB, free: 10.32 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.0001839/0.1665, allocations: 119.2 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1667, allocations: 43.95 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1667, allocations: 0 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1668, allocations: 24.05 kB / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1673, allocations: 43.34 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.1678, allocations: 359.9 kB / 0.6864 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1682, allocations: 0.7355 MB / 0.6871 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.1682, allocations: 7.984 kB / 0.6871 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.1682, allocations: 11.44 kB / 0.6871 GB, free: 8.934 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1682, allocations: 0 / 0.6871 GB, free: 8.934 MB / 494.1 MB Notification: Performance of Templates: time 0.004187/0.1724, allocations: 1.674 MB / 0.6887 GB, free: 7.301 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)