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 4.969/4.969, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 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.00247/0.00247, allocations: 358.4 kB / 0.6447 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.283/4.283, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.002575/0.002574, allocations: 183 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004917, allocations: 12 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7098, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007311/0.7106, allocations: 317.9 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.7109, allocations: 51.59 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.7109, allocations: 4 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.7109, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.711, allocations: 2 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.7111, allocations: 8 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.7112, allocations: 3.984 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.7113, allocations: 4 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.7113, allocations: 0.75 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.7113, allocations: 11.92 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.7113, allocations: 0.6562 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.7114, allocations: 15.98 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.7115, allocations: 0.5 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.7115, allocations: 31.83 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.558e-05/0.7116, allocations: 11.98 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7116, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7116, allocations: 4 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7116, allocations: 0 / 1.462 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.0002501/0.7119, allocations: 342.3 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7119, allocations: 11.62 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.712, allocations: 8 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.548e-05/0.7121, allocations: 174 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7121, allocations: 3.984 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.7121, allocations: 2.75 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.7123, allocations: 53.69 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7123, allocations: 3.938 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.7123, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.7123, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.7124, allocations: 24.83 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.7127, allocations: 266 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.7128, allocations: 27.27 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.7128, allocations: 4.859 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.7128, allocations: 0.7188 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.7129, allocations: 35.28 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.7129, allocations: 1.188 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.7131, allocations: 75.19 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.7131, allocations: 82.67 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.7132, allocations: 117.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.7132, allocations: 25.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.7133, allocations: 100.4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.7133, allocations: 8.781 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.7133, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.7134, allocations: 313.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.7134, allocations: 19.92 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.7135, allocations: 59.64 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.7136, allocations: 51.88 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7136, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001732/0.7138, allocations: 118.3 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.7138, allocations: 29.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7138, allocations: 4 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7138, allocations: 1.969 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.7139, allocations: 16.44 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.714, allocations: 9.578 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.7141, allocations: 11.98 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.7141, allocations: 4 kB / 1.464 GB, free: 281.7 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.685e-05/0.7142, allocations: 143.7 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.7142, allocations: 4.906 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.7142, allocations: 7.531 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7142, allocations: 7.922 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7143, allocations: 4.969 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.7143, allocations: 81.06 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7143, allocations: 5.25 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.7144, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.7144, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001012/0.7145, allocations: 192.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001164/0.7147, allocations: 248.4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.334e-05/0.7147, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.7147, allocations: 88.92 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of Backend: time 6.71e-07/0.7148, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004825/0.7153, allocations: 164.6 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003072/0.7156, allocations: 0.6093 MB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of Templates: time 0.00328/0.7189, allocations: 0.497 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB