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.005854/0.005854, allocations: 98.42 kB / 15.73 MB, free: 5.555 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.001345/0.001345, allocations: 196 kB / 16.68 MB, free: 5.484 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 278.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.952/0.952, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 91.84 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1596, allocations: 86.97 MB / 0.7663 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001925/0.1615, allocations: 1.268 MB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.1625, allocations: 0.69 MB / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1625, allocations: 4 kB / 0.7683 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1626, allocations: 0 / 0.7683 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.1626, allocations: 11.91 kB / 0.7683 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.163, allocations: 127.7 kB / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.163, allocations: 19.94 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.1631, allocations: 3.984 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.1632, allocations: 15.92 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.1632, allocations: 11.98 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1632, allocations: 4 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1635, allocations: 163.8 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1635, allocations: 7.938 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.1636, allocations: 8 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1637, allocations: 103.7 kB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1637, allocations: 3.984 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1638, allocations: 0 / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1638, allocations: 0 / 0.7687 GB, free: 6.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003349/0.1641, allocations: 343.3 kB / 0.769 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1641, allocations: 12.03 kB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1642, allocations: 4.938 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.1643, allocations: 164.4 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1643, allocations: 4.375 kB / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.1643, allocations: 384 / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.1644, allocations: 46 kB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1644, allocations: 11.86 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1644, allocations: 0 / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1644, allocations: 0 / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.1645, allocations: 27.92 kB / 0.7693 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1647, allocations: 161.6 kB / 0.7695 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.235e-05/0.1647, allocations: 38.62 kB / 0.7695 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.1648, allocations: 16.98 kB / 0.7695 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.1651, allocations: 194.2 kB / 0.7697 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1651, allocations: 34.5 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1651, allocations: 0 / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001597/0.1653, allocations: 69.58 kB / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1653, allocations: 55.41 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.1654, allocations: 93.86 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1654, allocations: 29.7 kB / 0.77 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.1655, allocations: 80.14 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1655, allocations: 15.89 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.1655, allocations: 17.72 kB / 0.7701 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.1656, allocations: 310.8 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.1656, allocations: 12.11 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.1657, allocations: 12.38 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.1657, allocations: 28.86 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1657, allocations: 0 / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.414e-05/0.1658, allocations: 57.62 kB / 0.7705 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1658, allocations: 11.94 kB / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1658, allocations: 0 / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1659, allocations: 0 / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.1659, allocations: 11.98 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1659, allocations: 0 / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.166, allocations: 3.953 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.166, allocations: 8 kB / 0.7705 GB, free: 3.957 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 (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 5.604e-05/0.166, allocations: 106.5 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.1661, allocations: 7.922 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.1662, allocations: 89.05 kB / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1662, allocations: 0 / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1662, allocations: 0 / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1662, allocations: 0 / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.1663, allocations: 169.6 kB / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1663, allocations: 0 / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.1664, allocations: 11.98 kB / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1664, allocations: 3.938 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1664, allocations: 4 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1664, allocations: 0 / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1664, allocations: 0 / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.1665, allocations: 93.14 kB / 0.771 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.1666, allocations: 89.05 kB / 0.7711 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1666, allocations: 3.984 kB / 0.7711 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.1666, allocations: 0 / 0.7711 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1666, allocations: 4 kB / 0.7711 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1666, allocations: 0 / 0.7711 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.682e-05/0.1667, allocations: 79.28 kB / 0.7711 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1667, allocations: 0 / 0.7711 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002163/0.1669, allocations: 31.92 kB / 0.7712 GB, free: 3.18 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 (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.000184/0.1671, allocations: 139.2 kB / 0.7713 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.593e-05/0.1672, allocations: 31.94 kB / 0.7713 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1672, allocations: 0 / 0.7713 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.1672, allocations: 15.98 kB / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1674, allocations: 8 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.1676, allocations: 130.5 kB / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.1678, allocations: 0.6768 MB / 0.7721 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.1678, allocations: 15.94 kB / 0.7722 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.1679, allocations: 11.44 kB / 0.7722 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1679, allocations: 0 / 0.7722 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.003144/0.171, allocations: 1.306 MB / 0.7734 GB, free: 0.7852 MB / 0.5606 GB 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)