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.001423/0.001423, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001836/0.001836, allocations: 191.7 kB / 16.25 MB, free: 6.582 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 298.9 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 89.17 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1475, allocations: 86.98 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002142/0.1497, allocations: 1.317 MB / 0.6809 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1508, allocations: 0.7095 MB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1508, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.1508, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.1509, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1512, allocations: 111.8 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.1513, allocations: 27.91 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.1513, allocations: 4 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.1514, allocations: 15.92 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.1514, allocations: 8 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1515, allocations: 0 / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.1517, allocations: 163.8 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.1517, allocations: 11.92 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.1518, allocations: 11.98 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1519, allocations: 108 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1519, allocations: 0 / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1519, allocations: 0 / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1519, allocations: 4 kB / 0.682 GB, free: 14.59 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.0003355/0.1523, allocations: 343.5 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.1523, allocations: 8.031 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.1524, allocations: 4.844 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.1525, allocations: 164.4 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1525, allocations: 8.312 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1525, allocations: 384 / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.1526, allocations: 46 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.1526, allocations: 0 / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1526, allocations: 4 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1526, allocations: 4 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.1527, allocations: 23.91 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1528, allocations: 161.7 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.1529, allocations: 38.56 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1529, allocations: 16.98 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.1533, allocations: 182.2 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1533, allocations: 34.5 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.1533, allocations: 0 / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001676/0.1535, allocations: 65.62 kB / 0.6831 GB, free: 13.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1535, allocations: 51.41 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.1536, allocations: 105.8 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1536, allocations: 29.64 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.1537, allocations: 80.14 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1537, allocations: 15.81 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1537, allocations: 17.7 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1538, allocations: 314.8 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.1539, allocations: 4 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.1539, allocations: 12.5 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.1539, allocations: 32.84 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.154, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.56e-05/0.154, allocations: 61.53 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1541, allocations: 11.94 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1541, allocations: 0 / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1541, allocations: 0 / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.1542, allocations: 8 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1542, allocations: 0 / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.1542, allocations: 3.938 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1542, allocations: 4 kB / 0.6838 GB, free: 12.52 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.425e-05/0.1543, allocations: 119.1 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.1543, allocations: 3.938 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.1545, allocations: 81.17 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1545, allocations: 3.938 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1545, allocations: 0 / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1545, allocations: 3.938 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1546, allocations: 169.6 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1546, allocations: 0 / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.1547, allocations: 8 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1547, allocations: 3.938 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1547, allocations: 7.984 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1547, allocations: 0 / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1547, allocations: 0 / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1548, allocations: 97.17 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.1549, allocations: 85.05 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1549, allocations: 0 / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/0.1549, allocations: 0 / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1549, allocations: 11.98 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1549, allocations: 0 / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.155, allocations: 79.28 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.155, allocations: 0 / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1552, allocations: 31.94 kB / 0.6845 GB, free: 11.72 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.0001899/0.1554, allocations: 131.3 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.532e-05/0.1555, allocations: 35.92 kB / 0.6846 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1555, allocations: 0 / 0.6846 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.1556, allocations: 19.98 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1557, allocations: 1.969 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.1559, allocations: 142.6 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1562, allocations: 0.6846 MB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.1562, allocations: 7.938 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.1562, allocations: 11.44 kB / 0.6855 GB, free: 10.63 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1562, allocations: 0 / 0.6855 GB, free: 10.63 MB / 494.1 MB Notification: Performance of Templates: time 0.003206/0.1594, allocations: 1.3 MB / 0.6868 GB, free: 9.332 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)