Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 172.9 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.566/2.566, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 102.2 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006698/0.0006702, allocations: 13.47 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2605, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007504/0.2613, allocations: 325.1 kB / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.2616, allocations: 40.77 kB / 0.8992 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.2616, allocations: 0 / 0.8992 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.2616, allocations: 0 / 0.8992 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.2617, allocations: 0 / 0.8992 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.2618, allocations: 11.94 kB / 0.8993 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.2619, allocations: 3.984 kB / 0.8993 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.262, allocations: 4 kB / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.262, allocations: 4 kB / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.262, allocations: 4 kB / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.262, allocations: 0 / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.2621, allocations: 15.98 kB / 0.8993 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.2622, allocations: 0 / 0.8993 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.2622, allocations: 33.64 kB / 0.8993 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.444e-05/0.2623, allocations: 19.97 kB / 0.8993 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2623, allocations: 0 / 0.8993 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2623, allocations: 0 / 0.8993 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2623, allocations: 0 / 0.8993 GB, free: 65.01 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.0002508/0.2626, allocations: 353 kB / 0.8997 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2626, allocations: 8.031 kB / 0.8997 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.2627, allocations: 4 kB / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.174e-05/0.2627, allocations: 167 kB / 0.8998 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2628, allocations: 3.984 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2628, allocations: 0 / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.2629, allocations: 57.62 kB / 0.8999 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2629, allocations: 3.938 kB / 0.8999 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.263, allocations: 0 / 0.8999 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.263, allocations: 12 kB / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.2631, allocations: 27.97 kB / 0.8999 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.2634, allocations: 260.8 kB / 0.9002 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.2634, allocations: 22.58 kB / 0.9002 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.2634, allocations: 0 / 0.9002 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.2635, allocations: 34.5 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.2635, allocations: 4 kB / 0.9003 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.2637, allocations: 75.34 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2637, allocations: 81.11 kB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.2638, allocations: 114.1 kB / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2638, allocations: 25.7 kB / 0.9005 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.2639, allocations: 111.8 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.2639, allocations: 3.938 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2639, allocations: 0 / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.264, allocations: 319 kB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.264, allocations: 11.98 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.2641, allocations: 64.23 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.2641, allocations: 45.7 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2641, allocations: 0 / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001783/0.2643, allocations: 119.2 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.2644, allocations: 33.7 kB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2644, allocations: 256 / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2644, allocations: 11.95 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.2645, allocations: 12 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2646, allocations: 4.141 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.2646, allocations: 15.84 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2647, allocations: 11.98 kB / 0.9013 GB, free: 62.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.955e-05/0.2648, allocations: 135.5 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2648, allocations: 0 / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.2648, allocations: 11.53 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2648, allocations: 0 / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2649, allocations: 7.953 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2649, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2651, allocations: 149.7 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2651, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-06/0.2651, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2651, allocations: 7.984 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2651, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2651, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2651, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2653, allocations: 177 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.2653, allocations: 81.09 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2653, allocations: 4 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.2654, allocations: 7.938 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.2655, allocations: 4 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2655, allocations: 4 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.2655, allocations: 91.22 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2655, allocations: 0 / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003353/0.2659, allocations: 12.03 kB / 0.9019 GB, free: 61.97 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 (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.0001645/0.2661, allocations: 107.2 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.2662, allocations: 83.33 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2662, allocations: 0 / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.2663, allocations: 63.33 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.2664, allocations: 4.5 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.2667, allocations: 110.6 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2668, allocations: 0.6809 MB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.267, allocations: 16.16 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.267, allocations: 7.438 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.267, allocations: 0 / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.003019/0.27, allocations: 488.5 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB