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.0009748/0.0009748, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007553/0.007553, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 258.9 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003977, allocations: 14.05 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1596, allocations: 88.56 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.001912/0.1616, allocations: 1.429 MB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1629, allocations: 0.9749 MB / 0.6875 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1629, allocations: 0 / 0.6875 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1633, allocations: 147.7 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.1634, allocations: 51.73 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1637, allocations: 94.52 kB / 0.6878 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1639, allocations: 207.4 kB / 0.688 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.164, allocations: 7.938 kB / 0.688 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.164, allocations: 39.78 kB / 0.688 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1642, allocations: 63.75 kB / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1642, allocations: 0 / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1645, allocations: 149.2 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.1646, allocations: 51.86 kB / 0.6883 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.1647, allocations: 93.2 kB / 0.6883 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.165, allocations: 239.2 kB / 0.6886 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.165, allocations: 0.5 kB / 0.6886 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.165, allocations: 2.156 kB / 0.6886 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.165, allocations: 0 / 0.6886 GB, free: 11.55 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.0006129/0.1656, allocations: 475.1 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1657, allocations: 8.031 kB / 0.689 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.1657, allocations: 24.22 kB / 0.6891 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1659, allocations: 215.8 kB / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1659, allocations: 384 / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.166, allocations: 4.375 kB / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1662, allocations: 73.72 kB / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1662, allocations: 0 / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1662, allocations: 0 / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1662, allocations: 0.75 kB / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.1664, allocations: 69.95 kB / 0.6894 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.167, allocations: 350.8 kB / 0.6897 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1671, allocations: 73.12 kB / 0.6898 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1673, allocations: 44.84 kB / 0.6899 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.1673, allocations: 15.97 kB / 0.6899 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1673, allocations: 30.56 kB / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1674, allocations: 0 / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004475/0.1678, allocations: 149.4 kB / 0.69 GB, free: 9.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1679, allocations: 55.41 kB / 0.6901 GB, free: 9.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1681, allocations: 258.7 kB / 0.6903 GB, free: 9.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1681, allocations: 25.7 kB / 0.6904 GB, free: 9.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1682, allocations: 136.1 kB / 0.6905 GB, free: 9.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1683, allocations: 12.03 kB / 0.6905 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.1683, allocations: 9.719 kB / 0.6905 GB, free: 9.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1684, allocations: 334.8 kB / 0.6908 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/0.1685, allocations: 39.91 kB / 0.6909 GB, free: 8.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.623e-05/0.1686, allocations: 35.98 kB / 0.6909 GB, free: 8.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1688, allocations: 72.81 kB / 0.691 GB, free: 8.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1688, allocations: 0 / 0.691 GB, free: 8.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002433/0.1691, allocations: 125.4 kB / 0.6911 GB, free: 8.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1691, allocations: 4 kB / 0.6911 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1691, allocations: 0 / 0.6911 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1691, allocations: 0 / 0.6911 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.1692, allocations: 11.98 kB / 0.6911 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/0.1693, allocations: 3.984 kB / 0.6911 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.1693, allocations: 12.03 kB / 0.6911 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.1693, allocations: 3.938 kB / 0.6911 GB, free: 8.723 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.991e-05/0.1695, allocations: 147 kB / 0.6913 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1695, allocations: 15.81 kB / 0.6913 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1698, allocations: 130.5 kB / 0.6914 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1698, allocations: 0 / 0.6914 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1698, allocations: 0 / 0.6914 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1698, allocations: 0 / 0.6914 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.17, allocations: 221.5 kB / 0.6916 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.17, allocations: 0 / 0.6916 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.1701, allocations: 8 kB / 0.6916 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1701, allocations: 8.031 kB / 0.6916 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1701, allocations: 0 / 0.6916 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1701, allocations: 3.984 kB / 0.6916 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1701, allocations: 0 / 0.6916 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1704, allocations: 219.1 kB / 0.6918 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1705, allocations: 92.92 kB / 0.6919 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1706, allocations: 3.984 kB / 0.6919 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.1707, allocations: 12 kB / 0.6919 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1707, allocations: 0 / 0.6919 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1707, allocations: 3.984 kB / 0.692 GB, free: 7.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1709, allocations: 190 kB / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1709, allocations: 7.969 kB / 0.6921 GB, free: 7.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1712, allocations: 51.92 kB / 0.6922 GB, free: 7.531 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.0002312/0.1714, allocations: 143.2 kB / 0.6923 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1717, allocations: 79.89 kB / 0.6924 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1717, allocations: 0 / 0.6924 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.1718, allocations: 35.97 kB / 0.6924 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1723, allocations: 51.17 kB / 0.6925 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.1728, allocations: 384.5 kB / 0.6929 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.173, allocations: 0.7372 MB / 0.6936 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.1731, allocations: 8 kB / 0.6936 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.1731, allocations: 7.438 kB / 0.6936 GB, free: 6.043 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1731, allocations: 0 / 0.6936 GB, free: 6.043 MB / 494.1 MB Notification: Performance of Templates: time 0.004319/0.1774, allocations: 1.809 MB / 0.6954 GB, free: 4.27 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)