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.003741/0.003741, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.462/1.462, allocations: 165.8 MB / 183.1 MB, free: 5.324 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.946/3.946, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.00173/0.001729, allocations: 193.7 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006156/0.0006158, allocations: 19.97 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4022, allocations: 67.44 MB / 0.8088 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007075/0.403, allocations: 303.3 kB / 0.809 GB, free: 28.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.4032, allocations: 35.91 kB / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.4032, allocations: 0 / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.4033, allocations: 3.938 kB / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.4033, allocations: 0 / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.4035, allocations: 11.98 kB / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.4036, allocations: 4 kB / 0.8091 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.4036, allocations: 4 kB / 0.8091 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.4036, allocations: 7.938 kB / 0.8091 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.668e-05/0.4037, allocations: 0 / 0.8091 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.4037, allocations: 0 / 0.8091 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.4038, allocations: 15.98 kB / 0.8091 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.4038, allocations: 11.97 kB / 0.8091 GB, free: 28.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.4039, allocations: 33.64 kB / 0.8092 GB, free: 28.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.4039, allocations: 11.98 kB / 0.8092 GB, free: 28.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.404, allocations: 0 / 0.8092 GB, free: 28.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.404, allocations: 0 / 0.8092 GB, free: 28.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.404, allocations: 0 / 0.8092 GB, free: 28.35 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.0002378/0.4042, allocations: 345.1 kB / 0.8095 GB, free: 27.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4043, allocations: 12.02 kB / 0.8095 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.4043, allocations: 7.906 kB / 0.8095 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.281e-05/0.4044, allocations: 165.1 kB / 0.8097 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4044, allocations: 3.984 kB / 0.8097 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.4044, allocations: 4 kB / 0.8097 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.4046, allocations: 53.69 kB / 0.8097 GB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4046, allocations: 0 / 0.8097 GB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4046, allocations: 7.953 kB / 0.8098 GB, free: 27.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.4047, allocations: 7.984 kB / 0.8098 GB, free: 27.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.256e-05/0.4047, allocations: 23.98 kB / 0.8098 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.405, allocations: 268.7 kB / 0.81 GB, free: 27.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.4051, allocations: 18.58 kB / 0.8101 GB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.4051, allocations: 12.91 kB / 0.8101 GB, free: 27.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.4051, allocations: 0 / 0.8101 GB, free: 27.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4052, allocations: 34.56 kB / 0.8101 GB, free: 27.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.4052, allocations: 0 / 0.8101 GB, free: 27.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.4054, allocations: 71.34 kB / 0.8102 GB, free: 27.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.4054, allocations: 77.11 kB / 0.8102 GB, free: 27.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.4055, allocations: 117.8 kB / 0.8104 GB, free: 26.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.4055, allocations: 25.7 kB / 0.8104 GB, free: 26.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.4055, allocations: 99.86 kB / 0.8105 GB, free: 26.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.4056, allocations: 7.969 kB / 0.8105 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.4056, allocations: 4 kB / 0.8105 GB, free: 26.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.4056, allocations: 322.8 kB / 0.8108 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.4057, allocations: 4 kB / 0.8108 GB, free: 26.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.4058, allocations: 59.17 kB / 0.8109 GB, free: 26.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.4058, allocations: 57.56 kB / 0.8109 GB, free: 26.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4058, allocations: 0 / 0.8109 GB, free: 26.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001745/0.406, allocations: 119.3 kB / 0.811 GB, free: 26.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.4061, allocations: 40.58 kB / 0.8111 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.4061, allocations: 0 / 0.8111 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4061, allocations: 4 kB / 0.8111 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4062, allocations: 19.92 kB / 0.8111 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4063, allocations: 160 / 0.8111 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.4064, allocations: 11.91 kB / 0.8111 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4064, allocations: 8 kB / 0.8111 GB, free: 26.11 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 7.67e-05/0.4065, allocations: 143.5 kB / 0.8112 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.4065, allocations: 3.953 kB / 0.8112 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.4065, allocations: 15.53 kB / 0.8113 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4066, allocations: 0 / 0.8113 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4066, allocations: 0 / 0.8113 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.4066, allocations: 77.11 kB / 0.8113 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4066, allocations: 4 kB / 0.8113 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.4067, allocations: 0 / 0.8113 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.4067, allocations: 0 / 0.8113 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001012/0.4068, allocations: 198.1 kB / 0.8115 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001172/0.407, allocations: 252.4 kB / 0.8118 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.271e-05/0.407, allocations: 0 / 0.8118 GB, free: 25.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.116e-05/0.4071, allocations: 95.25 kB / 0.8119 GB, free: 25.25 MB / 378.7 MB Notification: Performance of Backend: time 9.12e-07/0.4071, allocations: 0 / 0.8119 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.4075, allocations: 170 kB / 0.812 GB, free: 25.07 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002911/0.4079, allocations: 0.6088 MB / 0.8126 GB, free: 24.39 MB / 378.7 MB Notification: Performance of Templates: time 0.003139/0.411, allocations: 0.4928 MB / 0.8131 GB, free: 23.91 MB / 378.7 MB