Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001437/0.001437, allocations: 104.9 kB / 16.36 MB, free: 6.301 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.001181/0.001181, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.449/1.449, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.888/1.888, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.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.001462/0.001462, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002501/0.2576, allocations: 0.5929 MB / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000268/0.2579, allocations: 39.88 kB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.2579, allocations: 0 / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.258, allocations: 3.938 kB / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.2581, allocations: 4 kB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.2583, allocations: 11.98 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.2584, allocations: 4 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.2585, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.2585, allocations: 3.984 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.2585, allocations: 11.92 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2586, allocations: 0 / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.2587, allocations: 23.98 kB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.2587, allocations: 0 / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.2587, allocations: 7.938 kB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.2588, allocations: 19.92 kB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2588, allocations: 0 / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2589, allocations: 3.938 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2589, allocations: 0 / 0.7855 GB, free: 2.441 MB / 0.6544 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.000497/0.2594, allocations: 365.2 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2594, allocations: 8.031 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2595, allocations: 0.9375 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2596, allocations: 172.3 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2596, allocations: 4.375 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.2596, allocations: 384 / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.2598, allocations: 58.23 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2598, allocations: 192 / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2598, allocations: 3.938 kB / 0.7861 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2599, allocations: 12 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.2599, allocations: 23.92 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.2603, allocations: 272.8 kB / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.2604, allocations: 18.58 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.2604, allocations: 4.859 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.2604, allocations: 0 / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2604, allocations: 34.55 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2604, allocations: 4.062 kB / 0.7864 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.2606, allocations: 71.25 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.2607, allocations: 81.23 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.2608, allocations: 113.8 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2608, allocations: 29.7 kB / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.2609, allocations: 99.8 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.2609, allocations: 4 kB / 0.7868 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.261, allocations: 29.61 kB / 0.7868 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2611, allocations: 318.8 kB / 0.7871 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.2611, allocations: 8 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.2612, allocations: 62.92 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2613, allocations: 134.1 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2613, allocations: 0 / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001486/0.2614, allocations: 127.3 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.2615, allocations: 37.64 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2615, allocations: 0 / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2615, allocations: 4 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.2616, allocations: 8 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2616, allocations: 7.938 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.2617, allocations: 15.84 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2617, allocations: 4 kB / 0.7875 GB, free: 32 kB / 0.6544 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.3547/0.6164, allocations: 145.5 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.6164, allocations: 1.312 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.6165, allocations: 9.672 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6165, allocations: 1.375 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.6165, allocations: 0.5312 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6165, allocations: 7.344 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.6166, allocations: 156.3 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6166, allocations: 0 / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.6166, allocations: 0 / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.6166, allocations: 1.844 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6167, allocations: 0 / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6167, allocations: 2.906 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6167, allocations: 0 / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.6168, allocations: 165.1 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.6168, allocations: 82.42 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6169, allocations: 0.5938 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.617, allocations: 5.281 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.617, allocations: 5.531 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.617, allocations: 4.188 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.617, allocations: 90.75 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.9e-07/0.617, allocations: 0 / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000314/0.6174, allocations: 8.625 kB / 0.7882 GB, free: 48.35 MB / 0.6544 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.0001513/0.6175, allocations: 108.5 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.6177, allocations: 91.5 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6177, allocations: 4.688 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.6177, allocations: 54.09 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.618, allocations: 6.438 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.6182, allocations: 127.1 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.6183, allocations: 0.6808 MB / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.6183, allocations: 10.59 kB / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6183, allocations: 0 / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.001936/0.6203, allocations: 0.6787 MB / 0.7899 GB, free: 47.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)