Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 108.9 kB / 15.99 MB, free: 6.359 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.001022/0.001022, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.183/1.183, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 282.2 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.8727/0.8727, allocations: 169.2 MB / 0.4985 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 101.1 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1586, allocations: 86.97 MB / 0.6803 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002621/0.1613, allocations: 1.758 MB / 0.682 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006364/0.1619, allocations: 0.5098 MB / 0.6825 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.162, allocations: 4 kB / 0.6825 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1623, allocations: 143.7 kB / 0.6826 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.1624, allocations: 55.73 kB / 0.6827 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1626, allocations: 55.86 kB / 0.6827 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1628, allocations: 103.5 kB / 0.6828 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.1628, allocations: 11.94 kB / 0.6828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.1629, allocations: 35.84 kB / 0.6829 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.163, allocations: 63.75 kB / 0.6829 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.163, allocations: 4 kB / 0.6829 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1631, allocations: 91.84 kB / 0.683 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.1632, allocations: 55.8 kB / 0.6831 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.1633, allocations: 63.56 kB / 0.6831 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1634, allocations: 131.7 kB / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1635, allocations: 0 / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1635, allocations: 0 / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1635, allocations: 3.938 kB / 0.6833 GB, free: 5.488 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.0004991/0.164, allocations: 478.3 kB / 0.6837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.164, allocations: 12.03 kB / 0.6837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1641, allocations: 28.59 kB / 0.6838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1642, allocations: 215.7 kB / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1642, allocations: 384 / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1642, allocations: 4.375 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1644, allocations: 58.23 kB / 0.684 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1644, allocations: 3.938 kB / 0.684 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1644, allocations: 0 / 0.684 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1645, allocations: 0 / 0.684 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1646, allocations: 63.95 kB / 0.6841 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1651, allocations: 336.7 kB / 0.6844 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1652, allocations: 66.48 kB / 0.6845 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.734e-05/0.1653, allocations: 32.91 kB / 0.6845 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.1653, allocations: 11.98 kB / 0.6845 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1654, allocations: 30.56 kB / 0.6846 GB, free: 4.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1654, allocations: 4 kB / 0.6846 GB, free: 4.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003528/0.1657, allocations: 133.4 kB / 0.6847 GB, free: 3.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1658, allocations: 55.53 kB / 0.6847 GB, free: 3.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.166, allocations: 258.7 kB / 0.685 GB, free: 3.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.166, allocations: 25.7 kB / 0.685 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.1661, allocations: 132.1 kB / 0.6851 GB, free: 3.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1661, allocations: 3.906 kB / 0.6851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1661, allocations: 21.7 kB / 0.6852 GB, free: 3.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1663, allocations: 326.8 kB / 0.6855 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.923e-05/0.1663, allocations: 35.97 kB / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.1664, allocations: 23.98 kB / 0.6855 GB, free: 2.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1666, allocations: 72.73 kB / 0.6856 GB, free: 2.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1666, allocations: 3.938 kB / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/0.1668, allocations: 105.4 kB / 0.6857 GB, free: 2.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1669, allocations: 8.094 kB / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1669, allocations: 0 / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.1669, allocations: 0 / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.167, allocations: 11.98 kB / 0.6857 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.167, allocations: 0 / 0.6857 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.167, allocations: 7.984 kB / 0.6857 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.167, allocations: 0 / 0.6857 GB, free: 2.758 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 8.688e-05/0.1671, allocations: 137.8 kB / 0.6859 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1672, allocations: 23.72 kB / 0.6859 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1674, allocations: 114.4 kB / 0.686 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1674, allocations: 0 / 0.686 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1674, allocations: 0 / 0.686 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1675, allocations: 0 / 0.686 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1676, allocations: 225.5 kB / 0.6862 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1677, allocations: 3.938 kB / 0.6862 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.1677, allocations: 11.98 kB / 0.6862 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1677, allocations: 4.031 kB / 0.6862 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1677, allocations: 3.984 kB / 0.6862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1677, allocations: 3.984 kB / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1678, allocations: 0 / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.168, allocations: 203.3 kB / 0.6864 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.1681, allocations: 92.83 kB / 0.6865 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1681, allocations: 8.016 kB / 0.6865 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.1682, allocations: 4 kB / 0.6865 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1682, allocations: 3.938 kB / 0.6865 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1682, allocations: 7.984 kB / 0.6865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1684, allocations: 186 kB / 0.6867 GB, free: 1.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1684, allocations: 0 / 0.6867 GB, free: 1.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1686, allocations: 39.94 kB / 0.6868 GB, free: 1.605 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.0001711/0.1688, allocations: 135.2 kB / 0.6869 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.169, allocations: 59.95 kB / 0.6869 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.169, allocations: 3.938 kB / 0.6869 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.1691, allocations: 35.97 kB / 0.687 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1696, allocations: 44.47 kB / 0.687 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1701, allocations: 408 kB / 0.6874 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1704, allocations: 0.7275 MB / 0.6881 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1704, allocations: 15.44 kB / 0.6881 GB, free: 128 kB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1704, allocations: 4 kB / 0.6881 GB, free: 124 kB / 494.1 MB Notification: Performance of Templates: time 0.2414/0.4118, allocations: 1.831 MB / 0.6899 GB, free: 17.64 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)