Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001133/0.001133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001238/0.001238, allocations: 186.8 kB / 16.25 MB, free: 6.578 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.66 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3821, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001971/0.3841, allocations: 0.6387 MB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002184/0.3844, allocations: 39.81 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.3844, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.3844, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.312e-05/0.3845, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3847, allocations: 15.97 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.3848, allocations: 8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3848, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.3849, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.127e-05/0.3849, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3849, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.385, allocations: 23.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.385, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.3851, allocations: 3.938 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.3852, allocations: 31.89 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3852, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3852, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3852, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB 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.0003059/0.3855, allocations: 351.2 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3855, allocations: 8.031 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3856, allocations: 4.938 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.3857, allocations: 164.6 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3857, allocations: 8.25 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.3857, allocations: 384 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3859, allocations: 58.25 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3859, allocations: 192 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3859, allocations: 11.94 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.3859, allocations: 7.984 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.386, allocations: 23.98 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.3863, allocations: 272.7 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.066e-05/0.3864, allocations: 22.52 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.3864, allocations: 8.922 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.3864, allocations: 4 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.3865, allocations: 30.56 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3865, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001988/0.3867, allocations: 75.3 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.3868, allocations: 81.05 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3869, allocations: 109.8 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3869, allocations: 25.7 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.387, allocations: 107.9 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-06/0.387, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.3871, allocations: 29.62 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3873, allocations: 318.8 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.3873, allocations: 11.98 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.3874, allocations: 58.86 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3875, allocations: 134.1 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3875, allocations: 0 / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002454/0.3878, allocations: 119.2 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.3878, allocations: 29.7 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3878, allocations: 4 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3878, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.3879, allocations: 15.98 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3879, allocations: 8.25 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.388, allocations: 11.91 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.388, allocations: 4 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB 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 0.0002068/0.3882, allocations: 149.1 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3883, allocations: 7.984 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.3883, allocations: 7.531 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3883, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3883, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3883, allocations: 4 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3886, allocations: 157.6 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3886, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.3886, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3886, allocations: 3.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3886, allocations: 3.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3886, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3886, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.3888, allocations: 167.4 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.3888, allocations: 89.05 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3888, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.3889, allocations: 7.938 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.3889, allocations: 8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3889, allocations: 3.984 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.389, allocations: 87.73 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.389, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002814/0.3893, allocations: 15.94 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB 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.0001717/0.3895, allocations: 111.2 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.3896, allocations: 83.33 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3896, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.3897, allocations: 55.41 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3899, allocations: 5.688 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.3901, allocations: 129.3 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3904, allocations: 0.6845 MB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.819e-05/0.3905, allocations: 15.97 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.3906, allocations: 7.438 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3906, allocations: 0 / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.002654/0.3932, allocations: 0.5107 MB / 1.073 GB, free: 5.156 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)