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.007009/0.007009, allocations: 113.6 kB / 15.71 MB, free: 6.027 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.001708/0.001708, allocations: 191.8 kB / 16.64 MB, free: 5.961 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.403/1.403, allocations: 222.9 MB / 240.3 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.002065/0.002065, allocations: 271.1 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 95.84 kB / 0.6814 GB, free: 15.56 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1616, allocations: 86.97 MB / 0.7663 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002537/0.1642, allocations: 1.717 MB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1654, allocations: 1.001 MB / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.1655, allocations: 0 / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1658, allocations: 143.5 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.1659, allocations: 51.67 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1662, allocations: 107.6 kB / 0.7693 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1664, allocations: 103.5 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.1664, allocations: 11.94 kB / 0.7694 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.1665, allocations: 39.78 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.1666, allocations: 51.77 kB / 0.7694 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1666, allocations: 3.938 kB / 0.7695 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.1669, allocations: 147.8 kB / 0.7696 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1669, allocations: 55.8 kB / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.167, allocations: 67.55 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.1673, allocations: 235.2 kB / 0.7699 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1673, allocations: 0 / 0.7699 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1673, allocations: 0 / 0.7699 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1673, allocations: 4 kB / 0.7699 GB, free: 4.777 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.0005336/0.1679, allocations: 498.1 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1679, allocations: 8.031 kB / 0.7704 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.168, allocations: 24.64 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1681, allocations: 211.8 kB / 0.7706 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1681, allocations: 4.359 kB / 0.7707 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1681, allocations: 4.375 kB / 0.7707 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1683, allocations: 77.73 kB / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1684, allocations: 0 / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1684, allocations: 0 / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1684, allocations: 0 / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1686, allocations: 59.95 kB / 0.7708 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.169, allocations: 332.7 kB / 0.7711 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1692, allocations: 74.47 kB / 0.7712 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.1693, allocations: 32.91 kB / 0.7712 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.1693, allocations: 15.92 kB / 0.7712 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1693, allocations: 34.56 kB / 0.7713 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1693, allocations: 0 / 0.7713 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003667/0.1697, allocations: 133.4 kB / 0.7714 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1698, allocations: 55.41 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.17, allocations: 258.7 kB / 0.7717 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.17, allocations: 25.7 kB / 0.7717 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.1701, allocations: 132.1 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.1701, allocations: 11.83 kB / 0.7718 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.1701, allocations: 13.72 kB / 0.7719 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1703, allocations: 338.9 kB / 0.7722 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.1704, allocations: 31.97 kB / 0.7722 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.1705, allocations: 23.98 kB / 0.7722 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1706, allocations: 68.8 kB / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1706, allocations: 0 / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00023/0.1709, allocations: 109.4 kB / 0.7724 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1709, allocations: 4 kB / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1709, allocations: 0 / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1709, allocations: 0 / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.171, allocations: 15.92 kB / 0.7724 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.171, allocations: 0 / 0.7724 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.1711, allocations: 7.984 kB / 0.7724 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1711, allocations: 4.031 kB / 0.7724 GB, free: 2 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.0001007/0.1712, allocations: 138.4 kB / 0.7726 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1712, allocations: 15.81 kB / 0.7726 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1715, allocations: 114.5 kB / 0.7727 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1715, allocations: 4 kB / 0.7727 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1715, allocations: 0 / 0.7727 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1715, allocations: 0 / 0.7727 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1717, allocations: 229.6 kB / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1718, allocations: 0 / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.1718, allocations: 15.92 kB / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1718, allocations: 4 kB / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1718, allocations: 0 / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1719, allocations: 3.938 kB / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1719, allocations: 0 / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1721, allocations: 207.1 kB / 0.7731 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.1722, allocations: 96.91 kB / 0.7732 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1722, allocations: 0 / 0.7732 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1723, allocations: 8 kB / 0.7732 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1724, allocations: 7.984 kB / 0.7732 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1724, allocations: 0 / 0.7732 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001576/0.1725, allocations: 190 kB / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1725, allocations: 0 / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002824/0.1728, allocations: 55.95 kB / 0.7735 GB, free: 0.8281 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.0002025/0.173, allocations: 143.2 kB / 0.7736 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1733, allocations: 63.89 kB / 0.7737 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1733, allocations: 0 / 0.7737 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.1734, allocations: 35.97 kB / 0.7737 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1738, allocations: 56.44 kB / 0.7738 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.1743, allocations: 338.4 kB / 0.7741 GB, free: 172 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3171/0.4914, allocations: 0.7287 MB / 0.7748 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.4915, allocations: 12.11 kB / 0.7748 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.4915, allocations: 10 kB / 0.7748 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.4915, allocations: 0 / 0.7748 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.005201/0.4967, allocations: 1.922 MB / 0.7767 GB, free: 15.03 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)