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.00597/0.00597, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001253/0.001253, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 282.4 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9729/0.9729, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1562, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002569/0.1588, allocations: 1.716 MB / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1602, allocations: 1.001 MB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.1602, allocations: 0 / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.1607, allocations: 147.4 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.1608, allocations: 55.73 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1612, allocations: 107.6 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1613, allocations: 103.5 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1614, allocations: 8 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1615, allocations: 39.84 kB / 0.7695 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.1616, allocations: 47.77 kB / 0.7695 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1616, allocations: 4 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.1619, allocations: 147.7 kB / 0.7696 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.162, allocations: 55.8 kB / 0.7697 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.1621, allocations: 63.56 kB / 0.7698 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.1625, allocations: 246.9 kB / 0.77 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1625, allocations: 0 / 0.77 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1625, allocations: 7.938 kB / 0.77 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.1625, allocations: 4 kB / 0.77 GB, free: 4.703 MB / 0.5606 GB 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.0006036/0.1631, allocations: 0.4902 MB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1632, allocations: 12.03 kB / 0.7705 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.1632, allocations: 20.8 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1634, allocations: 219.9 kB / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1634, allocations: 384 / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.1634, allocations: 384 / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1636, allocations: 69.8 kB / 0.7708 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1636, allocations: 0 / 0.7708 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1636, allocations: 0 / 0.7708 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1636, allocations: 4 kB / 0.7708 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1638, allocations: 63.88 kB / 0.7709 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.1643, allocations: 328.8 kB / 0.7712 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1644, allocations: 62.55 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.1645, allocations: 36.89 kB / 0.7713 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.1646, allocations: 12 kB / 0.7713 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1646, allocations: 30.56 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1646, allocations: 0 / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003995/0.165, allocations: 145.4 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1651, allocations: 51.41 kB / 0.7715 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1653, allocations: 258.7 kB / 0.7717 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1654, allocations: 25.7 kB / 0.7718 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1655, allocations: 136.1 kB / 0.7719 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.1655, allocations: 7.953 kB / 0.7719 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1655, allocations: 17.84 kB / 0.7719 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1657, allocations: 334.8 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1658, allocations: 31.92 kB / 0.7723 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1659, allocations: 31.97 kB / 0.7723 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1661, allocations: 64.75 kB / 0.7724 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1661, allocations: 4.062 kB / 0.7724 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002141/0.1663, allocations: 109.5 kB / 0.7725 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1663, allocations: 8 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1664, allocations: 0 / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1664, allocations: 0 / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.1665, allocations: 4 kB / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1665, allocations: 0 / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.1665, allocations: 7.984 kB / 0.7725 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1666, allocations: 8.031 kB / 0.7725 GB, free: 1.93 MB / 0.5606 GB 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.0001022/0.1667, allocations: 142.3 kB / 0.7726 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.1667, allocations: 15.91 kB / 0.7726 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.167, allocations: 126.4 kB / 0.7728 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.167, allocations: 3.938 kB / 0.7728 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.167, allocations: 4 kB / 0.7728 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.167, allocations: 4.031 kB / 0.7728 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1672, allocations: 217.6 kB / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1672, allocations: 0 / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.1673, allocations: 11.98 kB / 0.773 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1673, allocations: 0 / 0.773 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1673, allocations: 0 / 0.773 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1673, allocations: 0 / 0.773 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1673, allocations: 0 / 0.773 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1676, allocations: 215.2 kB / 0.7732 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1677, allocations: 96.97 kB / 0.7733 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1677, allocations: 0 / 0.7733 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1678, allocations: 7.984 kB / 0.7733 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1678, allocations: 0 / 0.7733 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.1678, allocations: 4 kB / 0.7733 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001551/0.168, allocations: 189.9 kB / 0.7735 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.168, allocations: 32 / 0.7735 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002927/0.1683, allocations: 51.88 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB 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.0002594/0.1686, allocations: 155 kB / 0.7737 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.1688, allocations: 63.94 kB / 0.7737 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1688, allocations: 0 / 0.7737 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.1689, allocations: 31.92 kB / 0.7738 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1694, allocations: 52.52 kB / 0.7738 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.17, allocations: 342.1 kB / 0.7742 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3184/0.4884, allocations: 0.7286 MB / 0.7749 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.673e-05/0.4885, allocations: 8.703 kB / 0.7749 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.4886, allocations: 9.562 kB / 0.7749 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.4886, allocations: 0.6875 kB / 0.7749 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.004948/0.4935, allocations: 1.934 MB / 0.7768 GB, free: 14.42 MB / 0.5606 GB 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)