Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.002395, allocations: 355.6 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.373/1.373, allocations: 165.8 MB / 182.5 MB, free: 5.422 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.745/3.745, allocations: 410.8 MB / 0.5995 GB, free: 15.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002662/0.002662, allocations: 201.8 kB / 0.6662 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 20 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3258, allocations: 67.43 MB / 0.8082 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005401/0.3264, allocations: 304.3 kB / 0.8084 GB, free: 28.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.3266, allocations: 34.64 kB / 0.8085 GB, free: 28.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.3266, allocations: 0 / 0.8085 GB, free: 28.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.3266, allocations: 0 / 0.8085 GB, free: 28.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.669e-05/0.3267, allocations: 7.984 kB / 0.8085 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.3268, allocations: 8 kB / 0.8085 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.3269, allocations: 7.938 kB / 0.8085 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3269, allocations: 3.984 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.3269, allocations: 4 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.208e-05/0.327, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.84e-06/0.327, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.3271, allocations: 19.98 kB / 0.8085 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3271, allocations: 7.984 kB / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.3271, allocations: 33.64 kB / 0.8086 GB, free: 28.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.724e-05/0.3272, allocations: 11.98 kB / 0.8086 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3272, allocations: 0 / 0.8086 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.717e-06/0.3272, allocations: 0 / 0.8086 GB, free: 28.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.372e-06/0.3272, allocations: 0 / 0.8086 GB, free: 28.38 MB / 378.7 MB 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.0002164/0.3275, allocations: 353 kB / 0.8089 GB, free: 27.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3275, allocations: 12.03 kB / 0.8089 GB, free: 27.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.3276, allocations: 3.906 kB / 0.8089 GB, free: 27.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.603e-05/0.3276, allocations: 161.2 kB / 0.8091 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3276, allocations: 4 kB / 0.8091 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.3277, allocations: 4 kB / 0.8091 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3278, allocations: 61.66 kB / 0.8092 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3278, allocations: 0 / 0.8092 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3278, allocations: 3.953 kB / 0.8092 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.3279, allocations: 4 kB / 0.8092 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.3279, allocations: 27.92 kB / 0.8092 GB, free: 27.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.3282, allocations: 272.8 kB / 0.8094 GB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.3283, allocations: 18.58 kB / 0.8095 GB, free: 27.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.3283, allocations: 8.922 kB / 0.8095 GB, free: 27.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-06/0.3283, allocations: 0 / 0.8095 GB, free: 27.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3283, allocations: 34.56 kB / 0.8095 GB, free: 27.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.678e-06/0.3283, allocations: 0 / 0.8095 GB, free: 27.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000163/0.3285, allocations: 75.33 kB / 0.8096 GB, free: 27.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.3285, allocations: 77.11 kB / 0.8097 GB, free: 27.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.3286, allocations: 121.9 kB / 0.8098 GB, free: 26.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1e-05/0.3286, allocations: 25.7 kB / 0.8098 GB, free: 26.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.3287, allocations: 103.8 kB / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.921e-06/0.3287, allocations: 7.844 kB / 0.8099 GB, free: 26.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-06/0.3287, allocations: 4 kB / 0.8099 GB, free: 26.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.3288, allocations: 314.8 kB / 0.8102 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.3288, allocations: 11.98 kB / 0.8102 GB, free: 26.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.3289, allocations: 58.86 kB / 0.8103 GB, free: 26.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.3289, allocations: 45.64 kB / 0.8103 GB, free: 26.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-06/0.329, allocations: 3.953 kB / 0.8103 GB, free: 26.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001631/0.3291, allocations: 127.1 kB / 0.8104 GB, free: 26.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3292, allocations: 37.7 kB / 0.8105 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.525e-06/0.3292, allocations: 0 / 0.8105 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3292, allocations: 4 kB / 0.8105 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.3293, allocations: 12 kB / 0.8105 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.239e-06/0.3293, allocations: 0 / 0.8105 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.3294, allocations: 8.156 kB / 0.8105 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3294, allocations: 15.98 kB / 0.8105 GB, free: 26.12 MB / 378.7 MB 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 6.859e-05/0.3295, allocations: 143.5 kB / 0.8107 GB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.3295, allocations: 7.953 kB / 0.8107 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.3296, allocations: 3.531 kB / 0.8107 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3296, allocations: 0 / 0.8107 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.649e-06/0.3296, allocations: 0 / 0.8107 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-06/0.3296, allocations: 3.938 kB / 0.8107 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.3297, allocations: 153.7 kB / 0.8108 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-06/0.3297, allocations: 0 / 0.8108 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-06/0.3298, allocations: 11.95 kB / 0.8108 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.329e-06/0.3298, allocations: 3.984 kB / 0.8108 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-06/0.3298, allocations: 0 / 0.8108 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.851e-06/0.3298, allocations: 0 / 0.8108 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-06/0.3298, allocations: 0 / 0.8108 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.3299, allocations: 157.3 kB / 0.811 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.3299, allocations: 85 kB / 0.8111 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.33, allocations: 11.89 kB / 0.8111 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.3301, allocations: 4.031 kB / 0.8111 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.3301, allocations: 0 / 0.8111 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3301, allocations: 4 kB / 0.8111 GB, free: 25.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.542e-05/0.3301, allocations: 91.27 kB / 0.8112 GB, free: 25.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.6e-07/0.3302, allocations: 0 / 0.8112 GB, free: 25.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.3305, allocations: 12 kB / 0.8112 GB, free: 25.34 MB / 378.7 MB 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.0001299/0.3306, allocations: 107.2 kB / 0.8113 GB, free: 25.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.3308, allocations: 87.33 kB / 0.8114 GB, free: 25.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.479e-06/0.3308, allocations: 0 / 0.8114 GB, free: 25.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.3308, allocations: 59.39 kB / 0.8114 GB, free: 25.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3311, allocations: 6.656 kB / 0.8114 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.3313, allocations: 106.7 kB / 0.8115 GB, free: 24.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3314, allocations: 0.6814 MB / 0.8122 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.111e-05/0.3315, allocations: 20.16 kB / 0.8122 GB, free: 24.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.3315, allocations: 11.44 kB / 0.8122 GB, free: 24.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.391e-06/0.3316, allocations: 0 / 0.8122 GB, free: 24.18 MB / 378.7 MB Notification: Performance of Templates: time 0.002714/0.3343, allocations: 496.6 kB / 0.8127 GB, free: 23.7 MB / 378.7 MB