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.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001112/0.001112, allocations: 195 kB / 16.14 MB, free: 6.707 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.375/1.375, 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.002046/0.002046, allocations: 283.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9766/0.9766, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 90.53 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1628, allocations: 86.99 MB / 0.6794 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002992/0.1658, allocations: 1.766 MB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1672, allocations: 1.001 MB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.1672, allocations: 3.938 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.1676, allocations: 147.7 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.1677, allocations: 44.73 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1679, allocations: 87.77 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1681, allocations: 219.3 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1682, allocations: 15.91 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.1683, allocations: 23.94 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1684, allocations: 67.69 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1684, allocations: 4 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.1686, allocations: 143.7 kB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.1687, allocations: 55.8 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.1688, allocations: 63.55 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1691, allocations: 239.2 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1691, allocations: 4 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1691, allocations: 0 / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1691, allocations: 0 / 0.6832 GB, free: 13.36 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.0005232/0.1696, allocations: 490.3 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1697, allocations: 12.02 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1697, allocations: 20.66 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1699, allocations: 215.7 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.17, allocations: 4.375 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.17, allocations: 4.375 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1702, allocations: 65.8 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1702, allocations: 3.938 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1703, allocations: 0 / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1703, allocations: 0 / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.1705, allocations: 59.89 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1709, allocations: 344.8 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1711, allocations: 66.53 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.1712, allocations: 32.91 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.1712, allocations: 11.98 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1712, allocations: 30.56 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.1713, allocations: 4 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.1716, allocations: 137.3 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1717, allocations: 59.34 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1719, allocations: 258.7 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1719, allocations: 25.7 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.172, allocations: 132.1 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1721, allocations: 16.02 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1721, allocations: 9.719 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1722, allocations: 334.8 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.1723, allocations: 27.97 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.1724, allocations: 31.97 kB / 0.6855 GB, free: 10.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1726, allocations: 68.81 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1726, allocations: 4 kB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.1728, allocations: 101.5 kB / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1729, allocations: 4 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1729, allocations: 0 / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1729, allocations: 0 / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.173, allocations: 11.98 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.173, allocations: 32 / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1731, allocations: 11.98 kB / 0.6857 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1731, allocations: 4 kB / 0.6857 GB, free: 10.6 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 9.583e-05/0.1732, allocations: 135.1 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1732, allocations: 19.72 kB / 0.6858 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1735, allocations: 118.4 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1735, allocations: 4.031 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1735, allocations: 4 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1735, allocations: 0 / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1737, allocations: 225.5 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1737, allocations: 0 / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.1738, allocations: 11.98 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1738, allocations: 0 / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1738, allocations: 4 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1738, allocations: 0 / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1738, allocations: 0 / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1742, allocations: 211.2 kB / 0.6864 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1742, allocations: 92.83 kB / 0.6865 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.1743, allocations: 4 kB / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.1744, allocations: 0 / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1744, allocations: 7.984 kB / 0.6865 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1744, allocations: 0 / 0.6865 GB, free: 9.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1746, allocations: 198 kB / 0.6867 GB, free: 9.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1746, allocations: 0 / 0.6867 GB, free: 9.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.175, allocations: 47.94 kB / 0.6867 GB, free: 9.438 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.0002101/0.1752, allocations: 147.2 kB / 0.6869 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1754, allocations: 63.89 kB / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1754, allocations: 0 / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1755, allocations: 39.97 kB / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.176, allocations: 44.39 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.1765, allocations: 366.4 kB / 0.6874 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1768, allocations: 0.7316 MB / 0.6881 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.039e-05/0.1769, allocations: 4 kB / 0.6881 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.1769, allocations: 15.42 kB / 0.6881 GB, free: 7.98 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1769, allocations: 0 / 0.6881 GB, free: 7.98 MB / 494.1 MB Notification: Performance of Templates: time 0.004442/0.1814, allocations: 1.82 MB / 0.6899 GB, free: 6.195 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)