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.001315/0.001315, allocations: 103.4 kB / 16.35 MB, free: 5.828 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.001153/0.001153, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 289 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.91/0.91, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 96.83 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1553, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003438/0.1588, allocations: 1.699 MB / 0.6833 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.1596, allocations: 478.9 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.1597, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.1601, allocations: 147.4 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1603, allocations: 55.73 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1606, allocations: 63.8 kB / 0.684 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1608, allocations: 103.5 kB / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1609, allocations: 7.938 kB / 0.6841 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.161, allocations: 35.78 kB / 0.6841 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.1611, allocations: 47.83 kB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1611, allocations: 3.938 kB / 0.6842 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1613, allocations: 95.77 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.1614, allocations: 51.86 kB / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.1615, allocations: 59.56 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1618, allocations: 187.4 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1618, allocations: 7.938 kB / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1618, allocations: 3.938 kB / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1618, allocations: 0 / 0.6845 GB, free: 4.414 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.0006465/0.1625, allocations: 478.3 kB / 0.685 GB, free: 3.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1625, allocations: 8.031 kB / 0.685 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1626, allocations: 20.66 kB / 0.685 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1628, allocations: 215.8 kB / 0.6852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1628, allocations: 384 / 0.6852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1628, allocations: 8.375 kB / 0.6852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.163, allocations: 50.23 kB / 0.6853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.163, allocations: 3.938 kB / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.163, allocations: 0 / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.163, allocations: 0 / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1632, allocations: 43.95 kB / 0.6853 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.1637, allocations: 312.8 kB / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1638, allocations: 50.48 kB / 0.6857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.1639, allocations: 28.89 kB / 0.6857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.1639, allocations: 11.97 kB / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.164, allocations: 30.56 kB / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.164, allocations: 4 kB / 0.6858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000348/0.1643, allocations: 109.4 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1644, allocations: 51.41 kB / 0.6859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1646, allocations: 258.7 kB / 0.6862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1646, allocations: 25.7 kB / 0.6862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.1647, allocations: 136.1 kB / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.1647, allocations: 12.02 kB / 0.6863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1648, allocations: 17.72 kB / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1649, allocations: 326.8 kB / 0.6866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.165, allocations: 19.97 kB / 0.6867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.1651, allocations: 19.98 kB / 0.6867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1652, allocations: 48.88 kB / 0.6867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1652, allocations: 3.938 kB / 0.6867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002351/0.1655, allocations: 93.41 kB / 0.6868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1655, allocations: 4 kB / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1655, allocations: 0 / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1655, allocations: 7.938 kB / 0.6868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1656, allocations: 11.92 kB / 0.6868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1656, allocations: 4.031 kB / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1657, allocations: 7.906 kB / 0.6869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1657, allocations: 0 / 0.6869 GB, free: 1.828 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.0001082/0.1658, allocations: 141.8 kB / 0.687 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1659, allocations: 15.81 kB / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.1661, allocations: 98.45 kB / 0.6871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1661, allocations: 4.031 kB / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1662, allocations: 0 / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1662, allocations: 0 / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1664, allocations: 213.5 kB / 0.6873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1664, allocations: 0 / 0.6873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.1664, allocations: 4 kB / 0.6873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1665, allocations: 0 / 0.6873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1665, allocations: 4 kB / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1665, allocations: 0 / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1665, allocations: 0 / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.1667, allocations: 195.2 kB / 0.6875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1668, allocations: 92.92 kB / 0.6876 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1668, allocations: 3.938 kB / 0.6876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.1669, allocations: 7.984 kB / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.167, allocations: 4 kB / 0.6876 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.167, allocations: 4 kB / 0.6876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1672, allocations: 194 kB / 0.6878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1672, allocations: 0 / 0.6878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1674, allocations: 32 kB / 0.6878 GB, free: 0.7305 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.0001871/0.1676, allocations: 117.6 kB / 0.6879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1679, allocations: 43.95 kB / 0.688 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1679, allocations: 0 / 0.688 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.168, allocations: 28.05 kB / 0.688 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1684, allocations: 49.45 kB / 0.6881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.169, allocations: 322.4 kB / 0.6884 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2362/0.4052, allocations: 0.7271 MB / 0.6891 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.4053, allocations: 8.391 kB / 0.6891 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.4054, allocations: 9.344 kB / 0.6891 GB, free: 18.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4054, allocations: 0 / 0.6891 GB, free: 18.16 MB / 494.1 MB Notification: Performance of Templates: time 0.005407/0.4108, allocations: 1.766 MB / 0.6908 GB, free: 18.13 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)