Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, 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.001178/0.001178, allocations: 197.1 kB / 16.14 MB, free: 6.734 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 275.2 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 92.38 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1706, allocations: 86.99 MB / 0.6794 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002365/0.173, allocations: 1.304 MB / 0.6807 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1743, allocations: 0.7292 MB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.1743, allocations: 0 / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.1743, allocations: 3.984 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.1744, allocations: 3.938 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1748, allocations: 99.8 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.1749, allocations: 23.88 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1749, allocations: 7.984 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.175, allocations: 7.938 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.175, allocations: 19.92 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1751, allocations: 4 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.1754, allocations: 159.8 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1754, allocations: 0 / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1754, allocations: 15.92 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1756, allocations: 108 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1756, allocations: 0 / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1756, allocations: 0 / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1756, allocations: 0 / 0.6818 GB, free: 14.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003994/0.1761, allocations: 347.5 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1761, allocations: 12.03 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.1761, allocations: 4.844 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1762, allocations: 160.4 kB / 0.6823 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1763, allocations: 4.375 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1763, allocations: 384 / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1764, allocations: 53.92 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1764, allocations: 0 / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1764, allocations: 0 / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1764, allocations: 0 / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.1765, allocations: 27.98 kB / 0.6824 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1767, allocations: 157.7 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.1767, allocations: 34.62 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.1768, allocations: 16.98 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.1772, allocations: 190.2 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1772, allocations: 42.44 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1772, allocations: 3.938 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001944/0.1774, allocations: 61.69 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1775, allocations: 51.41 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.1775, allocations: 93.86 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1776, allocations: 29.7 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.1776, allocations: 80.14 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1776, allocations: 15.8 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1777, allocations: 21.84 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1778, allocations: 310.8 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.1778, allocations: 11.98 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.1778, allocations: 15.88 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.1779, allocations: 25.23 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1779, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.081e-05/0.178, allocations: 57.59 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.178, allocations: 11.94 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.178, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.178, allocations: 4 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.1781, allocations: 11.98 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1781, allocations: 0 / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.1782, allocations: 3.938 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1782, allocations: 3.938 kB / 0.6836 GB, free: 12.66 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 (5): * Single equations (assignments): 5 * 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 7.348e-05/0.1782, allocations: 111.2 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1783, allocations: 3.938 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.1784, allocations: 85.17 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1785, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1785, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1785, allocations: 0 / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1786, allocations: 169.6 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1786, allocations: 0 / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.1787, allocations: 15.92 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1787, allocations: 7.922 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1787, allocations: 4 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1787, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1787, allocations: 4 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1788, allocations: 85.12 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1789, allocations: 85.05 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1789, allocations: 4.172 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.1789, allocations: 4 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.1789, allocations: 4 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1789, allocations: 0 / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.236e-05/0.179, allocations: 83.28 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.179, allocations: 0 / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1792, allocations: 35.92 kB / 0.6843 GB, free: 11.87 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 (6): * Single equations (assignments): 6 * 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.0002259/0.1794, allocations: 135.1 kB / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.1795, allocations: 28 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1796, allocations: 0 / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/0.1796, allocations: 15.98 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1797, allocations: 5.547 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.18, allocations: 151 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1803, allocations: 0.677 MB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.1803, allocations: 11.94 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.1803, allocations: 11.44 kB / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1803, allocations: 0 / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of Templates: time 0.003583/0.1839, allocations: 1.29 MB / 0.6866 GB, free: 9.488 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)