Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009285/0.0009285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009411/0.0009411, allocations: 192.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.7 MB / 0.5088 GB, free: 3.246 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.92 kB / 0.6216 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3707, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001701/0.3724, allocations: 0.6481 MB / 0.7245 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.3727, allocations: 43.81 kB / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.3727, allocations: 4 kB / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.3727, allocations: 0 / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.582e-05/0.3728, allocations: 0 / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.3729, allocations: 15.97 kB / 0.7245 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.353e-05/0.3729, allocations: 0 / 0.7245 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.373, allocations: 12 kB / 0.7245 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.373, allocations: 0 / 0.7245 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.996e-05/0.373, allocations: 7.938 kB / 0.7245 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.3731, allocations: 0 / 0.7245 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.3731, allocations: 19.97 kB / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.3732, allocations: 0 / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.3732, allocations: 7.938 kB / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.313e-05/0.3733, allocations: 23.91 kB / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3733, allocations: 0 / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3733, allocations: 0 / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.3733, allocations: 0 / 0.7246 GB, free: 12.34 MB / 0.545 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.0002776/0.3736, allocations: 357.2 kB / 0.7249 GB, free: 11.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3736, allocations: 12.03 kB / 0.7249 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.3737, allocations: 0.9375 kB / 0.7249 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3738, allocations: 162.4 kB / 0.7251 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3738, allocations: 4.359 kB / 0.7251 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3738, allocations: 8.312 kB / 0.7251 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.3739, allocations: 58.19 kB / 0.7252 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.3739, allocations: 192 / 0.7252 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3739, allocations: 3.938 kB / 0.7252 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.374, allocations: 8 kB / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.374, allocations: 27.92 kB / 0.7252 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.3743, allocations: 272.8 kB / 0.7255 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.3744, allocations: 14.58 kB / 0.7255 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.3744, allocations: 8.922 kB / 0.7255 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.3744, allocations: 0 / 0.7255 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3744, allocations: 38.5 kB / 0.7255 GB, free: 11.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3744, allocations: 0 / 0.7255 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.3746, allocations: 71.39 kB / 0.7256 GB, free: 11.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3746, allocations: 77.11 kB / 0.7257 GB, free: 11.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.3747, allocations: 121.7 kB / 0.7258 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3748, allocations: 29.7 kB / 0.7258 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.3748, allocations: 103.8 kB / 0.7259 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/0.3748, allocations: 2.859 kB / 0.7259 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.3749, allocations: 25.84 kB / 0.7259 GB, free: 10.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.375, allocations: 326.8 kB / 0.7262 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.375, allocations: 4 kB / 0.7262 GB, free: 10.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.3751, allocations: 66.8 kB / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3752, allocations: 134.1 kB / 0.7264 GB, free: 10.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3752, allocations: 4 kB / 0.7264 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001306/0.3753, allocations: 115.2 kB / 0.7265 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.3754, allocations: 29.7 kB / 0.7266 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3754, allocations: 7.984 kB / 0.7266 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3754, allocations: 4 kB / 0.7266 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.3754, allocations: 19.92 kB / 0.7266 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3755, allocations: 4 kB / 0.7266 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.3755, allocations: 8.25 kB / 0.7266 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3756, allocations: 4 kB / 0.7266 GB, free: 9.938 MB / 0.545 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.000105/0.3757, allocations: 151.5 kB / 0.7268 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3757, allocations: 3.906 kB / 0.7268 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.3757, allocations: 3.531 kB / 0.7268 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3757, allocations: 4 kB / 0.7268 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3757, allocations: 0 / 0.7268 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.3757, allocations: 0 / 0.7268 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3759, allocations: 157.6 kB / 0.7269 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3759, allocations: 7.938 kB / 0.7269 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.3759, allocations: 0 / 0.7269 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3759, allocations: 3.938 kB / 0.7269 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3759, allocations: 3.938 kB / 0.7269 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3759, allocations: 4 kB / 0.7269 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3759, allocations: 0 / 0.7269 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.376, allocations: 165.2 kB / 0.7271 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.3761, allocations: 81.05 kB / 0.7272 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.3761, allocations: 8.016 kB / 0.7272 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.3762, allocations: 4 kB / 0.7272 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.3762, allocations: 0 / 0.7272 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3762, allocations: 0 / 0.7272 GB, free: 9.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.3762, allocations: 91.27 kB / 0.7273 GB, free: 9.152 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3762, allocations: 0 / 0.7273 GB, free: 9.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002299/0.3765, allocations: 19.94 kB / 0.7273 GB, free: 9.133 MB / 0.545 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.0001404/0.3766, allocations: 103.2 kB / 0.7274 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.3767, allocations: 91.27 kB / 0.7275 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3767, allocations: 0 / 0.7275 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.3768, allocations: 55.41 kB / 0.7275 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.377, allocations: 4 kB / 0.7275 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.3771, allocations: 121.9 kB / 0.7277 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3774, allocations: 0.677 MB / 0.7283 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.592e-05/0.3774, allocations: 23.67 kB / 0.7283 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-06/0.3775, allocations: 7.438 kB / 0.7283 GB, free: 7.977 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.3775, allocations: 0 / 0.7283 GB, free: 7.977 MB / 0.545 GB Notification: Performance of Templates: time 0.002481/0.38, allocations: 0.5012 MB / 0.7288 GB, free: 7.484 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)