Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 286.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 90.55 kB / 0.5952 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1635, allocations: 86.99 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003525/0.167, allocations: 1.707 MB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1685, allocations: 0.9965 MB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.1686, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1691, allocations: 143.7 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1693, allocations: 55.67 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1697, allocations: 107.6 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1699, allocations: 103.5 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.17, allocations: 11.88 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.1701, allocations: 43.78 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1702, allocations: 55.7 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1702, allocations: 4 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.1705, allocations: 143.7 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1706, allocations: 51.86 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.1707, allocations: 59.56 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.1711, allocations: 243.2 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1711, allocations: 4 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1712, allocations: 0 / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1712, allocations: 0 / 0.6838 GB, free: 12.96 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.0006506/0.1718, allocations: 494.2 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1719, allocations: 12.03 kB / 0.6843 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.1719, allocations: 20.66 kB / 0.6843 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1721, allocations: 215.7 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1721, allocations: 4.312 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1722, allocations: 384 / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.1724, allocations: 65.78 kB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1724, allocations: 0 / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1724, allocations: 8 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1724, allocations: 4 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1726, allocations: 51.95 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1731, allocations: 336.8 kB / 0.685 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1733, allocations: 66.48 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1734, allocations: 36.89 kB / 0.6851 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.1735, allocations: 11.98 kB / 0.6851 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1735, allocations: 30.56 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.1735, allocations: 0 / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004212/0.1739, allocations: 145.4 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.174, allocations: 55.34 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1742, allocations: 254.7 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1742, allocations: 33.64 kB / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1743, allocations: 132.1 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1743, allocations: 3.906 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1744, allocations: 21.7 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1745, allocations: 330.8 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.1746, allocations: 36 kB / 0.6861 GB, free: 10.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.1747, allocations: 27.98 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1749, allocations: 60.81 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1749, allocations: 0 / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002366/0.1751, allocations: 109.5 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1752, allocations: 8 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1752, allocations: 7.875 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1752, allocations: 0 / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.1753, allocations: 7.984 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1753, allocations: 4 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1754, allocations: 4 kB / 0.6863 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1754, allocations: 7.984 kB / 0.6863 GB, free: 10.2 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.1755, allocations: 139.1 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.1756, allocations: 23.7 kB / 0.6864 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.1759, allocations: 114.5 kB / 0.6866 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1759, allocations: 0 / 0.6866 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1759, allocations: 0 / 0.6866 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1759, allocations: 0 / 0.6866 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1761, allocations: 221.5 kB / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1761, allocations: 0 / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.1762, allocations: 15.97 kB / 0.6868 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1762, allocations: 0 / 0.6868 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1762, allocations: 3.984 kB / 0.6868 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1762, allocations: 0 / 0.6868 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1762, allocations: 0 / 0.6868 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.1765, allocations: 203.3 kB / 0.687 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.1766, allocations: 96.86 kB / 0.6871 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1767, allocations: 3.984 kB / 0.6871 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.1768, allocations: 4 kB / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1768, allocations: 0 / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1768, allocations: 7.984 kB / 0.6871 GB, free: 9.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.177, allocations: 189.9 kB / 0.6873 GB, free: 9.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.177, allocations: 0 / 0.6873 GB, free: 9.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1773, allocations: 59.92 kB / 0.6873 GB, free: 9.031 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.000244/0.1775, allocations: 151.1 kB / 0.6875 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1779, allocations: 63.89 kB / 0.6875 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1779, allocations: 0 / 0.6875 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/0.178, allocations: 31.97 kB / 0.6876 GB, free: 8.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.1784, allocations: 53.28 kB / 0.6876 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.179, allocations: 334.5 kB / 0.6879 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1794, allocations: 0.7314 MB / 0.6886 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.1794, allocations: 8 kB / 0.6886 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.1795, allocations: 11.44 kB / 0.6887 GB, free: 7.602 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1795, allocations: 0 / 0.6887 GB, free: 7.602 MB / 494.1 MB Notification: Performance of Templates: time 0.00483/0.1843, allocations: 1.942 MB / 0.6906 GB, free: 5.703 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)