Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.134/5.134, allocations: 0.5623 GB / 0.5769 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002406/0.002405, allocations: 358.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.131/4.131, allocations: 410.7 MB / 1.112 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001838/0.001837, allocations: 187.6 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005177, allocations: 15.98 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.736, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.000611/0.7367, allocations: 326.5 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.7369, allocations: 35.55 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.7369, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.7369, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.737, allocations: 0.7188 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.7371, allocations: 13.36 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.7372, allocations: 7.984 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.7372, allocations: 5.156 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.7373, allocations: 3.984 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.7373, allocations: 8.562 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.7373, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.7374, allocations: 16.58 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.7374, allocations: 9.719 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.7375, allocations: 25.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.07e-05/0.7375, allocations: 11.98 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7376, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.872e-06/0.7376, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.091e-06/0.7376, allocations: 1.312 kB / 1.461 GB, free: 283.9 MB / 0.8542 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.0002264/0.7378, allocations: 345.1 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.7379, allocations: 16.78 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.7379, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.738, allocations: 169.1 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.738, allocations: 5.406 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.738, allocations: 7.938 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.7381, allocations: 57.67 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.958e-06/0.7382, allocations: 1.531 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-06/0.7382, allocations: 3.984 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.7382, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.7383, allocations: 23.98 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.7386, allocations: 271.4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.206e-05/0.7386, allocations: 19.36 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.7387, allocations: 8.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-06/0.7387, allocations: 0.9688 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.7387, allocations: 30.56 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.154e-06/0.7387, allocations: 0.7812 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.7389, allocations: 79.81 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.7389, allocations: 83.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.739, allocations: 113.8 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-06/0.739, allocations: 25.7 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.7391, allocations: 103.8 kB / 1.462 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.144e-06/0.7391, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-06/0.7391, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.7391, allocations: 320.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.7392, allocations: 7.984 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.7392, allocations: 60.48 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.7393, allocations: 48.02 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7393, allocations: 0.625 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001649/0.7395, allocations: 117.9 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.7395, allocations: 37.69 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-06/0.7396, allocations: 3.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7396, allocations: 4.969 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.7397, allocations: 19.89 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.515e-06/0.7397, allocations: 4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.7398, allocations: 7.281 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.7398, allocations: 8 kB / 1.463 GB, free: 281.6 MB / 0.8542 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.133e-05/0.7399, allocations: 144.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.7399, allocations: 4.812 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.7399, allocations: 7.531 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-06/0.74, allocations: 0.7188 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/0.74, allocations: 7.891 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-06/0.74, allocations: 0.5938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.7401, allocations: 157.7 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-06/0.7401, allocations: 0.6562 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-06/0.7402, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.793e-06/0.7402, allocations: 2.562 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-06/0.7402, allocations: 7.984 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7402, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-06/0.7402, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.7403, allocations: 165.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.7404, allocations: 81.59 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.7404, allocations: 4.625 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.7405, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.7405, allocations: 0.7188 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-06/0.7405, allocations: 5.25 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.7406, allocations: 83.27 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.88e-07/0.7406, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003238/0.7409, allocations: 17.52 kB / 1.464 GB, free: 280.9 MB / 0.8542 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.0001306/0.741, allocations: 107.2 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.7412, allocations: 88.64 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.788e-06/0.7412, allocations: 1.656 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.7412, allocations: 59.39 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.7415, allocations: 2.734 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.7417, allocations: 112.2 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.7418, allocations: 0.6801 MB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.7419, allocations: 17.98 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.742, allocations: 11.44 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.389e-06/0.742, allocations: 0.6562 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002854/0.7448, allocations: 0.4918 MB / 1.465 GB, free: 279.3 MB / 0.8542 GB