Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007757, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008429/0.000843, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 267 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9514/0.9514, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 22.16 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1656, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005967/0.1663, allocations: 315.2 kB / 0.6848 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.1665, allocations: 39.89 kB / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.1665, allocations: 0 / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.1665, allocations: 0 / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.1665, allocations: 3.281 kB / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.1667, allocations: 4 kB / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.1668, allocations: 4 kB / 0.6848 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.1668, allocations: 3.984 kB / 0.6848 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.1668, allocations: 4 kB / 0.6849 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.586e-05/0.1669, allocations: 4 kB / 0.6849 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1669, allocations: 0 / 0.6849 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.167, allocations: 19.92 kB / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.167, allocations: 5.062 kB / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.167, allocations: 25.7 kB / 0.6849 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.1671, allocations: 15.97 kB / 0.6849 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1671, allocations: 2.281 kB / 0.6849 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.207e-06/0.1671, allocations: 0 / 0.6849 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1671, allocations: 0 / 0.6849 GB, free: 15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004223/0.1676, allocations: 345.4 kB / 0.6852 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1676, allocations: 12.03 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1677, allocations: 0.5 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1678, allocations: 167.7 kB / 0.6854 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1678, allocations: 0 / 0.6854 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1678, allocations: 8.594 kB / 0.6854 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.168, allocations: 58.64 kB / 0.6855 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.168, allocations: 3.938 kB / 0.6855 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.168, allocations: 0 / 0.6855 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.168, allocations: 7.438 kB / 0.6855 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.1681, allocations: 31.92 kB / 0.6855 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.1684, allocations: 268.8 kB / 0.6858 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.1685, allocations: 18.52 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.1685, allocations: 12.92 kB / 0.6858 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.1685, allocations: 0.6562 kB / 0.6858 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1685, allocations: 35.67 kB / 0.6858 GB, free: 13.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1686, allocations: 0 / 0.6858 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000159/0.1687, allocations: 71.95 kB / 0.6859 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1688, allocations: 77.86 kB / 0.686 GB, free: 13.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.1689, allocations: 118.4 kB / 0.6861 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1689, allocations: 25.7 kB / 0.6861 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.1689, allocations: 113.6 kB / 0.6862 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.1689, allocations: 0 / 0.6862 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.169, allocations: 4 kB / 0.6862 GB, free: 13.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.1691, allocations: 315 kB / 0.6865 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.1691, allocations: 11.98 kB / 0.6866 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.1691, allocations: 58.86 kB / 0.6866 GB, free: 13.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.1692, allocations: 45.7 kB / 0.6867 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1692, allocations: 0 / 0.6867 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001412/0.1694, allocations: 127.1 kB / 0.6868 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.1694, allocations: 33.7 kB / 0.6868 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1694, allocations: 3.953 kB / 0.6868 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1694, allocations: 8.25 kB / 0.6868 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.1695, allocations: 15.94 kB / 0.6868 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1695, allocations: 0 / 0.6868 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.1696, allocations: 11.92 kB / 0.6868 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1696, allocations: 8 kB / 0.6869 GB, free: 12.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.1697, allocations: 140.2 kB / 0.687 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.1697, allocations: 7.906 kB / 0.687 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.1697, allocations: 3.531 kB / 0.687 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1697, allocations: 3.953 kB / 0.687 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1698, allocations: 4 kB / 0.687 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1698, allocations: 3.984 kB / 0.687 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.1699, allocations: 149.7 kB / 0.6872 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1699, allocations: 0 / 0.6872 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.1699, allocations: 3.984 kB / 0.6872 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1699, allocations: 7.938 kB / 0.6872 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1699, allocations: 3.938 kB / 0.6872 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1699, allocations: 0 / 0.6872 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1699, allocations: 7.891 kB / 0.6872 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1701, allocations: 165.2 kB / 0.6873 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.1701, allocations: 81.09 kB / 0.6874 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1701, allocations: 4 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.1702, allocations: 0 / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1702, allocations: 3.953 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.1702, allocations: 4 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.1703, allocations: 91.27 kB / 0.6875 GB, free: 11.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1703, allocations: 0 / 0.6875 GB, free: 11.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1705, allocations: 12.03 kB / 0.6875 GB, free: 11.96 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.1707, allocations: 107.2 kB / 0.6876 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1708, allocations: 87.27 kB / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1708, allocations: 0 / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.1709, allocations: 59.39 kB / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.1711, allocations: 7.141 kB / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.1713, allocations: 106.8 kB / 0.6879 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1715, allocations: 0.6808 MB / 0.6885 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.433e-05/0.1716, allocations: 12.17 kB / 0.6885 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.1716, allocations: 7.438 kB / 0.6886 GB, free: 10.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1717, allocations: 4 kB / 0.6886 GB, free: 10.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002321/0.174, allocations: 0.491 MB / 0.689 GB, free: 10.34 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)