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.00101/0.00101, allocations: 102 kB / 16.35 MB, free: 5.824 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.0009843/0.0009844, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 289.7 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8871/0.8871, allocations: 169.2 MB / 0.4989 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 96.48 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001817/0.1519, allocations: 0.5898 MB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002192/0.1521, allocations: 43.98 kB / 0.6822 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.1522, allocations: 0 / 0.6822 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.1522, allocations: 0 / 0.6822 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.1523, allocations: 4 kB / 0.6822 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.1525, allocations: 11.94 kB / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.1525, allocations: 11.98 kB / 0.6822 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.1526, allocations: 4 kB / 0.6822 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.1526, allocations: 0 / 0.6822 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.1526, allocations: 7.984 kB / 0.6823 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1527, allocations: 4 kB / 0.6823 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.1527, allocations: 19.92 kB / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.1528, allocations: 0 / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.1528, allocations: 7.938 kB / 0.6823 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.605e-05/0.1529, allocations: 23.91 kB / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1529, allocations: 0 / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1529, allocations: 0 / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1529, allocations: 0 / 0.6823 GB, free: 6.742 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.000288/0.1532, allocations: 353.3 kB / 0.6826 GB, free: 6.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1533, allocations: 12.03 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1533, allocations: 0.9375 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.1534, allocations: 164.3 kB / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1534, allocations: 4.375 kB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1534, allocations: 384 / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1535, allocations: 58.23 kB / 0.6829 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1535, allocations: 192 / 0.6829 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1536, allocations: 3.938 kB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.1536, allocations: 15.92 kB / 0.6829 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.1536, allocations: 23.98 kB / 0.6829 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.1539, allocations: 268.8 kB / 0.6832 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.154, allocations: 22.52 kB / 0.6832 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.154, allocations: 4.859 kB / 0.6832 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.154, allocations: 0 / 0.6832 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.154, allocations: 38.5 kB / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 5.811e-06/0.1541, allocations: 0 / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.1542, allocations: 75.39 kB / 0.6833 GB, free: 5.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1543, allocations: 77.11 kB / 0.6834 GB, free: 5.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1543, allocations: 113.8 kB / 0.6835 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1544, allocations: 29.7 kB / 0.6835 GB, free: 5.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.1544, allocations: 103.8 kB / 0.6836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.1544, allocations: 0 / 0.6836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1545, allocations: 25.84 kB / 0.6836 GB, free: 5.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.1546, allocations: 322.8 kB / 0.6839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.1546, allocations: 7.984 kB / 0.684 GB, free: 4.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.1546, allocations: 66.86 kB / 0.684 GB, free: 4.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.1548, allocations: 130.2 kB / 0.6841 GB, free: 4.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1548, allocations: 4 kB / 0.6841 GB, free: 4.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001413/0.1549, allocations: 119.1 kB / 0.6843 GB, free: 4.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.1549, allocations: 33.7 kB / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.155, allocations: 0 / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.155, allocations: 4 kB / 0.6843 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.155, allocations: 19.92 kB / 0.6843 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1551, allocations: 4 kB / 0.6843 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.1551, allocations: 12.19 kB / 0.6843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1551, allocations: 4 kB / 0.6843 GB, free: 4.348 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.336e-05/0.1552, allocations: 147.5 kB / 0.6845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1553, allocations: 11.88 kB / 0.6845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.1553, allocations: 7.531 kB / 0.6845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1553, allocations: 0 / 0.6845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1553, allocations: 0 / 0.6845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1553, allocations: 0 / 0.6845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1554, allocations: 157.6 kB / 0.6846 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1554, allocations: 4 kB / 0.6846 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1554, allocations: 0 / 0.6846 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1555, allocations: 0 / 0.6846 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1555, allocations: 7.938 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1555, allocations: 4 kB / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1555, allocations: 0 / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1556, allocations: 165.2 kB / 0.6848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.1556, allocations: 77.11 kB / 0.6849 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1556, allocations: 4.031 kB / 0.6849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.1557, allocations: 7.938 kB / 0.6849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.1557, allocations: 3.938 kB / 0.6849 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1557, allocations: 4 kB / 0.6849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.1558, allocations: 87.73 kB / 0.685 GB, free: 3.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1558, allocations: 0 / 0.685 GB, free: 3.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.156, allocations: 15.94 kB / 0.685 GB, free: 3.551 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.0001393/0.1562, allocations: 107.2 kB / 0.6851 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1563, allocations: 95.27 kB / 0.6852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1563, allocations: 0 / 0.6852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.1563, allocations: 55.41 kB / 0.6853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1566, allocations: 10.66 kB / 0.6853 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.1568, allocations: 96.97 kB / 0.6854 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.157, allocations: 0.6812 MB / 0.686 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.1571, allocations: 15.97 kB / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.1571, allocations: 11.44 kB / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1571, allocations: 0 / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of Templates: time 0.002459/0.1596, allocations: 0.5144 MB / 0.6866 GB, free: 1.902 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)