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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009974/0.0009971, allocations: 175.6 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008136/0.0008136, allocations: 92.92 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 11.84 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.000772/0.2664, allocations: 331.2 kB / 0.8971 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.2667, allocations: 43.86 kB / 0.8971 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.2667, allocations: 0 / 0.8971 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.2668, allocations: 4 kB / 0.8971 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.2668, allocations: 7.938 kB / 0.8971 GB, free: 67.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.267, allocations: 8 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.2671, allocations: 7.984 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.2671, allocations: 3.984 kB / 0.8971 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.2671, allocations: 7.938 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.443e-05/0.2672, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2672, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.2673, allocations: 19.98 kB / 0.8972 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.2673, allocations: 4 kB / 0.8972 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.2674, allocations: 7.938 kB / 0.8972 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.408e-05/0.2674, allocations: 15.97 kB / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2675, allocations: 0 / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2675, allocations: 0 / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2675, allocations: 0 / 0.8972 GB, free: 67.78 MB / 0.6042 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.0002643/0.2677, allocations: 357.4 kB / 0.8975 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2678, allocations: 8.031 kB / 0.8975 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.2678, allocations: 0.9375 kB / 0.8975 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.968e-05/0.2679, allocations: 168.3 kB / 0.8977 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2679, allocations: 384 / 0.8977 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2679, allocations: 4.375 kB / 0.8977 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2681, allocations: 58.23 kB / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2681, allocations: 192 / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2681, allocations: 3.938 kB / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.2681, allocations: 12 kB / 0.8978 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.2682, allocations: 23.98 kB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.2685, allocations: 260.8 kB / 0.898 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.2685, allocations: 30.45 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.2685, allocations: 4.859 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-06/0.2685, allocations: 0 / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2686, allocations: 38.62 kB / 0.8981 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2686, allocations: 0 / 0.8981 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.2687, allocations: 63.39 kB / 0.8982 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2688, allocations: 81.05 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.2688, allocations: 125.9 kB / 0.8984 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2689, allocations: 25.7 kB / 0.8984 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.2689, allocations: 99.86 kB / 0.8985 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.2689, allocations: 7.984 kB / 0.8985 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.2689, allocations: 17.66 kB / 0.8985 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.269, allocations: 318.8 kB / 0.8988 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.269, allocations: 11.98 kB / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/0.2691, allocations: 63.17 kB / 0.8989 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.2691, allocations: 134.9 kB / 0.899 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2692, allocations: 0 / 0.899 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001189/0.2693, allocations: 115.2 kB / 0.8991 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2693, allocations: 33.7 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2693, allocations: 4.25 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2693, allocations: 8 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.2694, allocations: 11.98 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2694, allocations: 4.156 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.2695, allocations: 11.84 kB / 0.8992 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2696, allocations: 11.98 kB / 0.8992 GB, free: 65.39 MB / 0.6042 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 6.984e-05/0.2696, allocations: 151.4 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.2697, allocations: 3.984 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.2697, allocations: 7.531 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2697, allocations: 4 kB / 0.8994 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2697, allocations: 0 / 0.8994 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2697, allocations: 0 / 0.8994 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2698, allocations: 157.6 kB / 0.8995 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2698, allocations: 0 / 0.8995 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.2698, allocations: 0 / 0.8995 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2698, allocations: 0 / 0.8995 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2698, allocations: 4 kB / 0.8995 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2699, allocations: 3.938 kB / 0.8995 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2699, allocations: 0 / 0.8995 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.675e-05/0.2699, allocations: 173.1 kB / 0.8997 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.27, allocations: 77.11 kB / 0.8998 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.27, allocations: 3.938 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.2701, allocations: 4 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.2701, allocations: 3.984 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.2701, allocations: 0 / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.2701, allocations: 87.28 kB / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2701, allocations: 4.031 kB / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002383/0.2704, allocations: 15.94 kB / 0.8999 GB, free: 64.59 MB / 0.6042 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.0001476/0.2705, allocations: 107.2 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.2706, allocations: 87.33 kB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2707, allocations: 0 / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.2707, allocations: 55.41 kB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2709, allocations: 0.5625 kB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.2711, allocations: 148.3 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2713, allocations: 0.6809 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.2713, allocations: 11.44 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2713, allocations: 0 / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.001866/0.2731, allocations: 0.6673 MB / 0.9016 GB, free: 62.75 MB / 0.6042 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)