Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5566/0.5566, allocations: 94.78 MB / 102.2 MB, free: 10.14 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001568/0.001568, allocations: 170.8 kB / 125.5 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.763/1.763, allocations: 170.6 MB / 319.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001714/0.001714, allocations: 105.3 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.944e-05, allocations: 7.984 kB / 449.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1792, allocations: 61.52 MB / 0.4987 GB, free: 4.109 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.6513, allocations: 92.28 MB / 0.5888 GB, free: 9.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.6516, allocations: 78.62 kB / 0.5889 GB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001372/0.653, allocations: 0.5399 MB / 0.5894 GB, free: 9.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6531, allocations: 0 / 0.5894 GB, free: 9.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.6531, allocations: 0 / 0.5894 GB, free: 9.051 MB / 410.7 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.0003518/0.6534, allocations: 344.2 kB / 0.5897 GB, free: 8.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6535, allocations: 12.03 kB / 0.5897 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.6535, allocations: 3.312 kB / 0.5897 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6537, allocations: 167 kB / 0.5899 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.6537, allocations: 0.9375 kB / 0.5899 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.6537, allocations: 7.984 kB / 0.5899 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.416e-05/0.6538, allocations: 18.23 kB / 0.5899 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.6539, allocations: 50.28 kB / 0.59 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6539, allocations: 1.984 kB / 0.59 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6539, allocations: 0 / 0.59 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.654, allocations: 16.67 kB / 0.59 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.6544, allocations: 245.2 kB / 0.5902 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.6544, allocations: 15.27 kB / 0.5902 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.6544, allocations: 10.05 kB / 0.5902 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.6545, allocations: 4.922 kB / 0.5902 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.6545, allocations: 33.34 kB / 0.5903 GB, free: 8.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.552e-06/0.6545, allocations: 0 / 0.5903 GB, free: 8.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002052/0.6547, allocations: 38.23 kB / 0.5903 GB, free: 7.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.6548, allocations: 82.41 kB / 0.5904 GB, free: 7.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.6549, allocations: 110.7 kB / 0.5905 GB, free: 7.758 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.6549, allocations: 25.7 kB / 0.5905 GB, free: 7.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.655, allocations: 100.4 kB / 0.5906 GB, free: 7.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.655, allocations: 8.812 kB / 0.5906 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.655, allocations: 0 / 0.5906 GB, free: 7.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6552, allocations: 312.3 kB / 0.5909 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.6552, allocations: 10.47 kB / 0.5909 GB, free: 7.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.6553, allocations: 60.92 kB / 0.591 GB, free: 7.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.6553, allocations: 18.39 kB / 0.591 GB, free: 7.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6554, allocations: 0.8438 kB / 0.591 GB, free: 7.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001613/0.6555, allocations: 91.53 kB / 0.5911 GB, free: 7.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.6556, allocations: 29.7 kB / 0.5911 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6556, allocations: 7.328 kB / 0.5911 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.6556, allocations: 5.219 kB / 0.5911 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.6557, allocations: 8 kB / 0.5911 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6557, allocations: 9.578 kB / 0.5912 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.6558, allocations: 10.59 kB / 0.5912 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.6558, allocations: 5.719 kB / 0.5912 GB, free: 7.035 MB / 410.7 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 () * 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 0.0001205/0.6559, allocations: 139.3 kB / 0.5913 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.656, allocations: 9.266 kB / 0.5913 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.656, allocations: 11.92 kB / 0.5913 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.656, allocations: 0 / 0.5913 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.656, allocations: 0 / 0.5913 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.656, allocations: 3.531 kB / 0.5913 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.6562, allocations: 135 kB / 0.5915 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6562, allocations: 0 / 0.5915 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.6562, allocations: 0 / 0.5915 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6562, allocations: 0 / 0.5915 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6562, allocations: 8.641 kB / 0.5915 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6562, allocations: 0 / 0.5915 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6563, allocations: 3.984 kB / 0.5915 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.6564, allocations: 130.4 kB / 0.5916 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.6565, allocations: 83.73 kB / 0.5917 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.6565, allocations: 0.75 kB / 0.5917 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.6565, allocations: 7.938 kB / 0.5917 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.6566, allocations: 12.25 kB / 0.5917 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6566, allocations: 4 kB / 0.5917 GB, free: 6.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.6566, allocations: 83.28 kB / 0.5918 GB, free: 6.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6566, allocations: 0 / 0.5918 GB, free: 6.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.6569, allocations: 8 kB / 0.5918 GB, free: 6.34 MB / 410.7 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 () * 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.0001827/0.6571, allocations: 107.2 kB / 0.5919 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.6572, allocations: 75.34 kB / 0.592 GB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6572, allocations: 0.5 kB / 0.592 GB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.6573, allocations: 63.41 kB / 0.592 GB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.6574, allocations: 3.984 kB / 0.592 GB, free: 6.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.6577, allocations: 67.66 kB / 0.5921 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.658, allocations: 0.6807 MB / 0.5927 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.434e-05/0.658, allocations: 8.172 kB / 0.5928 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.658, allocations: 11.44 kB / 0.5928 GB, free: 5.25 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.658, allocations: 4.062 kB / 0.5928 GB, free: 5.246 MB / 410.7 MB Notification: Performance of Templates: time 0.002524/0.6606, allocations: 486 kB / 0.5932 GB, free: 4.812 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)