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.00133/0.00133, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.00136/0.00136, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 288 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8996/0.8996, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 94.11 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002157/0.1582, allocations: 1.25 MB / 0.6828 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.1592, allocations: 0.6973 MB / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.1593, allocations: 0 / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.1593, allocations: 3.938 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/0.1593, allocations: 0 / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1597, allocations: 131.6 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.934e-05/0.1598, allocations: 31.8 kB / 0.6837 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1598, allocations: 4 kB / 0.6837 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.1599, allocations: 11.98 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.16, allocations: 19.92 kB / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.16, allocations: 0 / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1602, allocations: 151.8 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1603, allocations: 7.969 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1603, allocations: 15.94 kB / 0.6839 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1605, allocations: 103.8 kB / 0.684 GB, free: 5.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1605, allocations: 0 / 0.684 GB, free: 5.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1605, allocations: 3.938 kB / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1605, allocations: 8 kB / 0.684 GB, free: 5.023 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.0003428/0.1608, allocations: 347.4 kB / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1609, allocations: 8.031 kB / 0.6843 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1609, allocations: 0.9375 kB / 0.6843 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.161, allocations: 168.3 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.161, allocations: 384 / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.161, allocations: 384 / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.1611, allocations: 46 kB / 0.6845 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1611, allocations: 4 kB / 0.6845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.1611, allocations: 0 / 0.6845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1612, allocations: 4 kB / 0.6845 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.1612, allocations: 23.97 kB / 0.6845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.1614, allocations: 157.7 kB / 0.6847 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.329e-05/0.1614, allocations: 42.56 kB / 0.6847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.1615, allocations: 12.86 kB / 0.6847 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/0.1618, allocations: 190.3 kB / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1619, allocations: 34.5 kB / 0.685 GB, free: 3.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1619, allocations: 0 / 0.685 GB, free: 3.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001532/0.162, allocations: 65.62 kB / 0.685 GB, free: 3.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1621, allocations: 51.41 kB / 0.6851 GB, free: 3.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.1621, allocations: 101.8 kB / 0.6852 GB, free: 3.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1621, allocations: 25.7 kB / 0.6852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.1622, allocations: 85.03 kB / 0.6853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1622, allocations: 11.81 kB / 0.6853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1622, allocations: 21.7 kB / 0.6853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.1623, allocations: 310.8 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.1624, allocations: 8 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.1624, allocations: 12.25 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.1624, allocations: 28.84 kB / 0.6857 GB, free: 3.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1625, allocations: 3.938 kB / 0.6857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.082e-05/0.1625, allocations: 65.47 kB / 0.6857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1626, allocations: 15.94 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1626, allocations: 0 / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1626, allocations: 0 / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1627, allocations: 8 kB / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1627, allocations: 0 / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1627, allocations: 3.938 kB / 0.6857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1627, allocations: 4 kB / 0.6858 GB, free: 2.941 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 5.643e-05/0.1628, allocations: 109.8 kB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.1628, allocations: 7.938 kB / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1629, allocations: 85.17 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.163, allocations: 0 / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.163, allocations: 0 / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.163, allocations: 3.984 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1631, allocations: 165.6 kB / 0.6861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1631, allocations: 0 / 0.6861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.1631, allocations: 8 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1631, allocations: 7.938 kB / 0.6861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1632, allocations: 7.984 kB / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1632, allocations: 256 / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1632, allocations: 0 / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1633, allocations: 97 kB / 0.6862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.1633, allocations: 81.05 kB / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1633, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.1634, allocations: 0 / 0.6863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.1634, allocations: 7.984 kB / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1634, allocations: 4 kB / 0.6863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.1634, allocations: 83.28 kB / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1636, allocations: 31.94 kB / 0.6864 GB, free: 2.148 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.0001881/0.1638, allocations: 127.2 kB / 0.6865 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.1639, allocations: 31.92 kB / 0.6866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1639, allocations: 0 / 0.6866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.164, allocations: 19.94 kB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1641, allocations: 10.89 kB / 0.6866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.1643, allocations: 122.7 kB / 0.6867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.1645, allocations: 0.6845 MB / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.1646, allocations: 8.188 kB / 0.6874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.1646, allocations: 11.44 kB / 0.6874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1646, allocations: 4 kB / 0.6874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of Templates: time 0.2225/0.3871, allocations: 1.293 MB / 0.6887 GB, free: 18.5 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)