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.007982/0.007982, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.002006/0.002006, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 274.7 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9907/0.9907, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 91.84 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1679, allocations: 86.98 MB / 0.7664 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002101/0.17, allocations: 1.244 MB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1711, allocations: 0.6939 MB / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.1712, allocations: 0 / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1712, allocations: 0 / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.382e-05/0.1713, allocations: 7.938 kB / 0.7683 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1717, allocations: 127.7 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.1717, allocations: 19.92 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1718, allocations: 7.984 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.1719, allocations: 19.88 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.1719, allocations: 15.92 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1719, allocations: 0 / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.1722, allocations: 159.8 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1723, allocations: 4 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.1723, allocations: 15.92 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1725, allocations: 107.7 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1725, allocations: 0 / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1725, allocations: 0 / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1725, 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.0003624/0.1729, allocations: 347.4 kB / 0.769 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1729, allocations: 8.031 kB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.173, allocations: 4.938 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1731, allocations: 168.4 kB / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1731, allocations: 384 / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1731, allocations: 4.375 kB / 0.7692 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1732, allocations: 49.94 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1732, allocations: 0 / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1733, allocations: 3.984 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1733, allocations: 0 / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.1733, allocations: 31.91 kB / 0.7693 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1735, allocations: 153.7 kB / 0.7695 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.502e-05/0.1736, allocations: 38.64 kB / 0.7695 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.1736, allocations: 16.97 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.174, allocations: 186.2 kB / 0.7697 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.174, allocations: 42.44 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.174, allocations: 0 / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001638/0.1742, allocations: 61.59 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1742, allocations: 59.41 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.1743, allocations: 89.86 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1743, allocations: 29.7 kB / 0.77 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.1743, allocations: 88.12 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1744, allocations: 11.75 kB / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1744, allocations: 17.72 kB / 0.7701 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.1745, allocations: 318.8 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.1745, allocations: 12.12 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.1746, allocations: 7.938 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.1746, allocations: 28.84 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1746, allocations: 384 / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.652e-05/0.1747, allocations: 57.7 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1747, allocations: 7.938 kB / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1747, allocations: 3.984 kB / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1748, allocations: 3.938 kB / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.1748, allocations: 8 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1748, allocations: 0 / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.1749, allocations: 8 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1749, allocations: 3.938 kB / 0.7705 GB, free: 3.961 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 6.474e-05/0.175, allocations: 106.5 kB / 0.7706 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.175, allocations: 11.84 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.1751, allocations: 77.23 kB / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1752, allocations: 0 / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1752, allocations: 0 / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.1752, allocations: 11.98 kB / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1753, allocations: 157.7 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1753, allocations: 0 / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.1753, allocations: 15.94 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.1754, allocations: 7.875 kB / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1754, allocations: 0 / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1754, allocations: 3.984 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1754, allocations: 0 / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.1755, allocations: 89.11 kB / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.1755, allocations: 88.95 kB / 0.7711 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1756, allocations: 4 kB / 0.7711 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.1756, allocations: 0 / 0.7711 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1756, allocations: 3.938 kB / 0.7711 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1756, allocations: 4.188 kB / 0.7711 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.1756, allocations: 79.27 kB / 0.7711 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1757, allocations: 0 / 0.7711 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002295/0.1759, allocations: 35.94 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.0002083/0.1761, allocations: 139.2 kB / 0.7713 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.1762, allocations: 31.98 kB / 0.7713 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1762, allocations: 0 / 0.7713 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.1762, allocations: 12 kB / 0.7713 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1764, allocations: 15.94 kB / 0.7714 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.1766, allocations: 122.7 kB / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1769, allocations: 0.6768 MB / 0.7721 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.1769, allocations: 11.98 kB / 0.7722 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1769, allocations: 15.38 kB / 0.7722 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.1769, allocations: 0 / 0.7722 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of Templates: time 0.003435/0.1804, allocations: 1.303 MB / 0.7734 GB, free: 0.7891 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)