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.001048/0.001048, allocations: 113.7 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.001116/0.001116, allocations: 196 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.26/1.26, 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.001987/0.001988, allocations: 283 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.8903/0.8903, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 99.31 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002201/0.1544, allocations: 1.25 MB / 0.6828 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1554, allocations: 0.6933 MB / 0.6835 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.1555, allocations: 0 / 0.6835 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.1555, allocations: 3.984 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.1556, allocations: 7.938 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1559, allocations: 123.7 kB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.156, allocations: 27.86 kB / 0.6837 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.156, allocations: 7.984 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.1561, allocations: 11.94 kB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.1561, allocations: 15.92 kB / 0.6837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1562, allocations: 4 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1564, allocations: 155.8 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.1564, allocations: 4 kB / 0.6838 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1565, allocations: 15.92 kB / 0.6839 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1567, allocations: 107.8 kB / 0.684 GB, free: 5.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1567, allocations: 3.938 kB / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1567, allocations: 4 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1567, allocations: 0 / 0.684 GB, free: 5.016 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.000321/0.157, allocations: 339.5 kB / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.157, allocations: 12.03 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1571, allocations: 0.9375 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1572, allocations: 164.3 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1572, allocations: 8.375 kB / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.1572, allocations: 4.312 kB / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.1573, allocations: 53.98 kB / 0.6845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1573, allocations: 3.984 kB / 0.6845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1573, allocations: 0 / 0.6845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1573, allocations: 0 / 0.6845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.097e-05/0.1574, allocations: 23.98 kB / 0.6845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1576, allocations: 153.7 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.1576, allocations: 42.62 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.1577, allocations: 16.8 kB / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/0.158, allocations: 194.3 kB / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1581, allocations: 34.5 kB / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1581, allocations: 0 / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001817/0.1583, allocations: 61.69 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1583, allocations: 51.41 kB / 0.6851 GB, free: 3.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.1584, allocations: 97.86 kB / 0.6852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1584, allocations: 25.83 kB / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.1584, allocations: 84.91 kB / 0.6853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1585, allocations: 11.8 kB / 0.6853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1585, allocations: 25.66 kB / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1586, allocations: 314.8 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.1587, allocations: 11.92 kB / 0.6856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.1587, allocations: 4 kB / 0.6856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.1588, allocations: 24.86 kB / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1588, allocations: 7.938 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.718e-05/0.1589, allocations: 61.59 kB / 0.6857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1589, allocations: 7.938 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1589, allocations: 4.438 kB / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1589, allocations: 0 / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.159, allocations: 15.92 kB / 0.6857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.159, allocations: 0 / 0.6857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.159, allocations: 7.938 kB / 0.6858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.159, allocations: 0 / 0.6858 GB, free: 2.926 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.715e-05/0.1591, allocations: 113.8 kB / 0.6859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.1591, allocations: 7.938 kB / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.1593, allocations: 73.23 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1593, allocations: 4 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1593, allocations: 0 / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1593, allocations: 0 / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1594, allocations: 165.6 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1595, allocations: 3.984 kB / 0.6861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.1595, allocations: 15.88 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1595, allocations: 7.938 kB / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1595, allocations: 0 / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1595, allocations: 4 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1595, allocations: 0 / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.1597, allocations: 81.12 kB / 0.6862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.1597, allocations: 89.03 kB / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1597, allocations: 0 / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.1597, allocations: 0 / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.1598, allocations: 8 kB / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1598, allocations: 0 / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.1598, allocations: 83.28 kB / 0.6864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 0.6864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.16, allocations: 31.92 kB / 0.6864 GB, free: 2.145 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.0001914/0.1602, allocations: 139.1 kB / 0.6865 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1603, allocations: 23.98 kB / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1603, allocations: 4 kB / 0.6866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.1604, allocations: 20.28 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1605, allocations: 4 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.1608, allocations: 122.7 kB / 0.6867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.161, allocations: 0.6845 MB / 0.6874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.036e-05/0.161, allocations: 8.188 kB / 0.6874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.1611, allocations: 15.44 kB / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1611, allocations: 0 / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of Templates: time 0.232/0.3931, allocations: 1.3 MB / 0.6887 GB, free: 17.87 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)