Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, 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.001064/0.001065, allocations: 192.7 kB / 16.13 MB, free: 6.711 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 286.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9765/0.9765, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 90.61 kB / 0.5945 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1643, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002646/0.167, allocations: 1.766 MB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1684, allocations: 1.14 MB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.1685, allocations: 0 / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.1689, allocations: 147.7 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.169, allocations: 55.72 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1692, allocations: 123.7 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1694, allocations: 215.3 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.1695, allocations: 15.92 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.1696, allocations: 39.78 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1697, allocations: 67.75 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1697, allocations: 8 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.17, allocations: 223.6 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.1701, allocations: 55.8 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.1702, allocations: 67.55 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.1705, allocations: 295.2 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1706, allocations: 0 / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1706, allocations: 3.938 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1706, allocations: 0 / 0.6835 GB, free: 12.97 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.0005704/0.1711, allocations: 0.4982 MB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1712, allocations: 12.03 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1712, allocations: 20.66 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1714, allocations: 215.7 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1714, allocations: 8.375 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1714, allocations: 384 / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1716, allocations: 85.78 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1716, allocations: 0 / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1716, allocations: 0 / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1717, allocations: 0 / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.1719, allocations: 99.92 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.1724, allocations: 376.8 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1726, allocations: 94.59 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1727, allocations: 60.83 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.1727, allocations: 23.98 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1728, allocations: 30.56 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1728, allocations: 0 / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004226/0.1732, allocations: 197.2 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.1733, allocations: 55.53 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1735, allocations: 258.7 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1735, allocations: 25.7 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.1736, allocations: 136.1 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.1736, allocations: 7.891 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.1737, allocations: 13.72 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1738, allocations: 334.8 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1739, allocations: 51.95 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.174, allocations: 47.97 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1742, allocations: 100.8 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1742, allocations: 0 / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002596/0.1745, allocations: 145.4 kB / 0.6863 GB, free: 9.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1745, allocations: 12.03 kB / 0.6863 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1745, allocations: 0 / 0.6863 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1745, allocations: 0 / 0.6863 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.1746, allocations: 15.92 kB / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1746, allocations: 0 / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.1747, allocations: 4 kB / 0.6863 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1747, allocations: 0 / 0.6863 GB, free: 9.875 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.0001047/0.1748, allocations: 143.1 kB / 0.6865 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.1749, allocations: 23.72 kB / 0.6865 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.1752, allocations: 170.3 kB / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1752, allocations: 0 / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1752, allocations: 0 / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1752, allocations: 0 / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1755, allocations: 241.5 kB / 0.6869 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1755, allocations: 4 kB / 0.6869 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.1756, allocations: 11.98 kB / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1756, allocations: 8 kB / 0.6869 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1756, allocations: 0 / 0.6869 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1756, allocations: 0 / 0.6869 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1756, allocations: 0 / 0.6869 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1759, allocations: 251.3 kB / 0.6872 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.176, allocations: 96.81 kB / 0.6872 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.176, allocations: 7.938 kB / 0.6873 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.1761, allocations: 4 kB / 0.6873 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1761, allocations: 7.984 kB / 0.6873 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1762, allocations: 0 / 0.6873 GB, free: 8.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1763, allocations: 193.9 kB / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1763, allocations: 0 / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.1766, allocations: 67.94 kB / 0.6875 GB, free: 8.57 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 (3): * Single equations (assignments): 3 * 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.0002806/0.1769, allocations: 171.1 kB / 0.6877 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1772, allocations: 103.9 kB / 0.6878 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1772, allocations: 0 / 0.6878 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1773, allocations: 51.97 kB / 0.6878 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1778, allocations: 53.2 kB / 0.6879 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.1783, allocations: 392.2 kB / 0.6883 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1787, allocations: 0.7316 MB / 0.689 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.1788, allocations: 15.97 kB / 0.689 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1788, allocations: 11.44 kB / 0.689 GB, free: 6.996 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1789, allocations: 3.938 kB / 0.689 GB, free: 6.992 MB / 494.1 MB Notification: Performance of Templates: time 0.004806/0.1837, allocations: 2.225 MB / 0.6912 GB, free: 4.801 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)