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.001029/0.001029, allocations: 105.4 kB / 15.99 MB, free: 6.336 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.0009925/0.0009926, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.218/1.218, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 288 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8692/0.8692, allocations: 169.2 MB / 0.4985 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 88.8 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1533, allocations: 86.97 MB / 0.6803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002622/0.156, allocations: 1.764 MB / 0.682 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.1566, allocations: 466.3 kB / 0.6824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.1566, allocations: 3.938 kB / 0.6824 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.157, allocations: 143.8 kB / 0.6826 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.1571, allocations: 47.73 kB / 0.6826 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1573, allocations: 51.88 kB / 0.6827 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1574, allocations: 103.5 kB / 0.6828 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.1575, allocations: 15.94 kB / 0.6828 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.1575, allocations: 43.77 kB / 0.6828 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.1576, allocations: 59.77 kB / 0.6829 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1576, allocations: 3.938 kB / 0.6829 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1578, allocations: 91.89 kB / 0.683 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.1579, allocations: 47.88 kB / 0.683 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.1579, allocations: 63.55 kB / 0.6831 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1581, allocations: 127.7 kB / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1581, allocations: 0 / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1581, allocations: 3.938 kB / 0.6832 GB, free: 5.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1581, allocations: 4 kB / 0.6832 GB, free: 5.531 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.0004939/0.1586, allocations: 474.2 kB / 0.6837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1587, allocations: 8.031 kB / 0.6837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.1587, allocations: 28.66 kB / 0.6837 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1589, allocations: 207.8 kB / 0.6839 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-06/0.1589, allocations: 4.375 kB / 0.6839 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1589, allocations: 4.375 kB / 0.6839 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1591, allocations: 58.22 kB / 0.684 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1591, allocations: 3.938 kB / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1591, allocations: 4 kB / 0.684 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1591, allocations: 0 / 0.684 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1593, allocations: 39.95 kB / 0.684 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1597, allocations: 316.8 kB / 0.6843 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1598, allocations: 50.48 kB / 0.6844 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.1599, allocations: 24.91 kB / 0.6844 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1599, allocations: 4 kB / 0.6844 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1599, allocations: 30.56 kB / 0.6844 GB, free: 4.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.16, allocations: 4 kB / 0.6844 GB, free: 4.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.00034/0.1603, allocations: 113.4 kB / 0.6845 GB, free: 4.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1603, allocations: 51.41 kB / 0.6846 GB, free: 3.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1606, allocations: 258.7 kB / 0.6848 GB, free: 3.703 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1606, allocations: 25.7 kB / 0.6848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1607, allocations: 136.1 kB / 0.685 GB, free: 3.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.1607, allocations: 3.906 kB / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.1607, allocations: 17.84 kB / 0.685 GB, free: 3.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1608, allocations: 330.8 kB / 0.6853 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.1609, allocations: 19.98 kB / 0.6853 GB, free: 3.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.161, allocations: 27.91 kB / 0.6854 GB, free: 3.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1612, allocations: 40.83 kB / 0.6854 GB, free: 3.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1612, allocations: 8 kB / 0.6854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.1614, allocations: 89.41 kB / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1614, allocations: 10.19 kB / 0.6855 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1614, allocations: 3.984 kB / 0.6855 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1614, allocations: 0 / 0.6855 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1615, allocations: 4 kB / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1615, allocations: 0 / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1616, allocations: 19.83 kB / 0.6855 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1616, allocations: 8.031 kB / 0.6855 GB, free: 2.941 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.0001018/0.1617, allocations: 137.8 kB / 0.6857 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1617, allocations: 15.81 kB / 0.6857 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.162, allocations: 94.45 kB / 0.6858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.162, allocations: 0 / 0.6858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.162, allocations: 4 kB / 0.6858 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.162, allocations: 4.031 kB / 0.6858 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1622, allocations: 209.6 kB / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1622, allocations: 0 / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1623, allocations: 7.984 kB / 0.686 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1623, allocations: 4 kB / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1623, allocations: 0 / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1623, allocations: 0 / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1623, allocations: 4 kB / 0.686 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1625, allocations: 191.2 kB / 0.6862 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1626, allocations: 92.91 kB / 0.6863 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1626, allocations: 0 / 0.6863 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.1627, allocations: 7.938 kB / 0.6863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.1628, allocations: 7.984 kB / 0.6863 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1628, allocations: 0 / 0.6863 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1629, allocations: 186 kB / 0.6865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1629, allocations: 4.031 kB / 0.6865 GB, free: 1.891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1632, allocations: 35.98 kB / 0.6865 GB, free: 1.855 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.0001661/0.1634, allocations: 127.2 kB / 0.6866 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1636, allocations: 43.95 kB / 0.6867 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1636, allocations: 0 / 0.6867 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.1637, allocations: 24.05 kB / 0.6867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1641, allocations: 45.58 kB / 0.6867 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1646, allocations: 396 kB / 0.6871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1649, allocations: 0.7353 MB / 0.6878 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.165, allocations: 11.44 kB / 0.6878 GB, free: 432 kB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.165, allocations: 0 / 0.6878 GB, free: 432 kB / 494.1 MB Notification: Performance of Templates: time 0.2378/0.4027, allocations: 1.816 MB / 0.6896 GB, free: 17.34 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)