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.001039/0.001039, allocations: 114.3 kB / 16.37 MB, free: 6 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.000998/0.000998, allocations: 195.9 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 284.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9001/0.9001, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 94.67 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1539, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00157/0.1556, allocations: 0.5798 MB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.1558, allocations: 43.98 kB / 0.6822 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.1558, allocations: 4 kB / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.1558, allocations: 0 / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.1559, allocations: 3.938 kB / 0.6822 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.156, allocations: 11.98 kB / 0.6822 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.1561, allocations: 8 kB / 0.6823 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.988e-05/0.1561, allocations: 4 kB / 0.6823 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.49e-05/0.1562, allocations: 0 / 0.6823 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.1562, allocations: 3.984 kB / 0.6823 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1562, allocations: 4 kB / 0.6823 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.1563, allocations: 15.98 kB / 0.6823 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.1563, allocations: 15.92 kB / 0.6823 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1563, allocations: 4 kB / 0.6823 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.647e-05/0.1564, allocations: 19.92 kB / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1564, allocations: 0 / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1564, allocations: 0 / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1565, allocations: 0 / 0.6823 GB, free: 6.73 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.000276/0.1567, allocations: 345.3 kB / 0.6826 GB, free: 6.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1568, allocations: 12.03 kB / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.1568, allocations: 0.9375 kB / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.1569, allocations: 172.3 kB / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1569, allocations: 4.375 kB / 0.6828 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1569, allocations: 4.375 kB / 0.6828 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.157, allocations: 66.16 kB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.157, allocations: 4.125 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1571, allocations: 3.938 kB / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.1571, allocations: 4 kB / 0.6829 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.1571, allocations: 23.98 kB / 0.6829 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.1574, allocations: 272.7 kB / 0.6832 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.1575, allocations: 18.58 kB / 0.6832 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.1575, allocations: 8.922 kB / 0.6832 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-06/0.1575, allocations: 0 / 0.6832 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1575, allocations: 30.56 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1575, allocations: 0 / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.1577, allocations: 71.33 kB / 0.6833 GB, free: 5.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1577, allocations: 81.23 kB / 0.6834 GB, free: 5.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.1578, allocations: 117.8 kB / 0.6835 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1578, allocations: 25.7 kB / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.1579, allocations: 107.8 kB / 0.6836 GB, free: 5.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.1579, allocations: 0 / 0.6836 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1579, allocations: 21.72 kB / 0.6836 GB, free: 5.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.158, allocations: 318.8 kB / 0.684 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.1581, allocations: 11.98 kB / 0.684 GB, free: 4.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.1581, allocations: 66.92 kB / 0.684 GB, free: 4.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.728e-05/0.1582, allocations: 130.1 kB / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1582, allocations: 0 / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001412/0.1584, allocations: 127.3 kB / 0.6843 GB, free: 4.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1584, allocations: 33.7 kB / 0.6843 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1584, allocations: 0 / 0.6843 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1584, allocations: 4 kB / 0.6843 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.1585, allocations: 11.98 kB / 0.6843 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1585, allocations: 4 kB / 0.6843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.1586, allocations: 7.938 kB / 0.6843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1586, allocations: 4 kB / 0.6843 GB, free: 4.344 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.1587, allocations: 155.4 kB / 0.6845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.1587, allocations: 7.969 kB / 0.6845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.127e-05/0.1587, allocations: 7.531 kB / 0.6845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1587, allocations: 0 / 0.6845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1587, allocations: 4 kB / 0.6845 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1587, allocations: 3.938 kB / 0.6845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1589, allocations: 157.6 kB / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1589, allocations: 0 / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1589, allocations: 0 / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1589, allocations: 0 / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1589, allocations: 4 kB / 0.6847 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1589, allocations: 0 / 0.6847 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1589, allocations: 7.938 kB / 0.6847 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.159, allocations: 173.1 kB / 0.6848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.1591, allocations: 77.11 kB / 0.6849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1591, allocations: 0 / 0.6849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.1591, allocations: 4 kB / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.1592, allocations: 3.984 kB / 0.6849 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1592, allocations: 0 / 0.6849 GB, free: 3.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.1592, allocations: 91.78 kB / 0.685 GB, free: 3.555 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1592, allocations: 0 / 0.685 GB, free: 3.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1595, allocations: 15.94 kB / 0.685 GB, free: 3.539 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 (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.0001293/0.1596, allocations: 107.2 kB / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.1597, allocations: 87.33 kB / 0.6852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1597, allocations: 0.5 kB / 0.6852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.1598, allocations: 63.41 kB / 0.6853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.16, allocations: 1.125 kB / 0.6853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.1602, allocations: 108.9 kB / 0.6854 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.1604, allocations: 0.6768 MB / 0.686 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.148e-05/0.1604, allocations: 15.97 kB / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.173e-05/0.1604, allocations: 11.44 kB / 0.6861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1605, allocations: 4.062 kB / 0.6861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of Templates: time 0.002338/0.1628, allocations: 0.5108 MB / 0.6866 GB, free: 1.887 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)