Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.449 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.706/1.706, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005325, allocations: 23.58 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.623, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001112/0.6241, allocations: 317.3 kB / 0.7283 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.6244, allocations: 38.48 kB / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.6244, allocations: 4 kB / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.6245, allocations: 4 kB / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.6245, allocations: 0 / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.6247, allocations: 11.94 kB / 0.7283 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.6248, allocations: 3.984 kB / 0.7283 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.6248, allocations: 3.984 kB / 0.7283 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.6249, allocations: 4 kB / 0.7284 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.6249, allocations: 3.938 kB / 0.7284 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.6249, allocations: 4 kB / 0.7284 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.625, allocations: 11.98 kB / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.625, allocations: 4 kB / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.6251, allocations: 29.7 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.64e-05/0.6252, allocations: 19.98 kB / 0.7284 GB, free: 10.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6252, allocations: 0 / 0.7284 GB, free: 10.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6252, allocations: 0 / 0.7284 GB, free: 10.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6252, allocations: 0 / 0.7284 GB, free: 10.99 MB / 0.545 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.0003461/0.6255, allocations: 349 kB / 0.7288 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6256, allocations: 8.031 kB / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.6256, allocations: 0 / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.6258, allocations: 168.9 kB / 0.7289 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.6258, allocations: 8 kB / 0.7289 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.6258, allocations: 3.984 kB / 0.7289 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.626, allocations: 61.67 kB / 0.729 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.626, allocations: 0 / 0.729 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.626, allocations: 0 / 0.729 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.626, allocations: 8 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.6261, allocations: 19.98 kB / 0.729 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.6266, allocations: 264.8 kB / 0.7293 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.6267, allocations: 26.52 kB / 0.7293 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.6267, allocations: 4 kB / 0.7293 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6267, allocations: 30.56 kB / 0.7293 GB, free: 9.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6267, allocations: 0 / 0.7293 GB, free: 9.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001729/0.6269, allocations: 71.41 kB / 0.7294 GB, free: 9.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.627, allocations: 81.05 kB / 0.7295 GB, free: 9.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.6271, allocations: 129.6 kB / 0.7296 GB, free: 9.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.6271, allocations: 33.77 kB / 0.7296 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.6272, allocations: 103.8 kB / 0.7297 GB, free: 9.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-06/0.6272, allocations: 4 kB / 0.7297 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.6272, allocations: 0 / 0.7297 GB, free: 9.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6273, allocations: 314.8 kB / 0.73 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.6274, allocations: 11.98 kB / 0.73 GB, free: 9.102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.6274, allocations: 66.92 kB / 0.7301 GB, free: 9.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.6275, allocations: 41.7 kB / 0.7302 GB, free: 8.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6275, allocations: 0 / 0.7302 GB, free: 8.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/0.6277, allocations: 119.2 kB / 0.7303 GB, free: 8.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.6277, allocations: 37.69 kB / 0.7303 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6278, allocations: 0 / 0.7303 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6278, allocations: 4 kB / 0.7303 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.6278, allocations: 11.94 kB / 0.7303 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6279, allocations: 7.953 kB / 0.7303 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.6279, allocations: 7.906 kB / 0.7303 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.628, allocations: 4.25 kB / 0.7303 GB, free: 8.758 MB / 0.545 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 0.0001006/0.6281, allocations: 151.5 kB / 0.7305 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.6281, allocations: 3.984 kB / 0.7305 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.6281, allocations: 7.531 kB / 0.7305 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6281, allocations: 0 / 0.7305 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6281, allocations: 0 / 0.7305 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6281, allocations: 3.953 kB / 0.7305 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.6283, allocations: 153.7 kB / 0.7306 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.6283, allocations: 0 / 0.7306 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-06/0.6283, allocations: 0 / 0.7306 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.6283, allocations: 7.938 kB / 0.7306 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6283, allocations: 4 kB / 0.7307 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6283, allocations: 3.984 kB / 0.7307 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6283, allocations: 0 / 0.7307 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.6284, allocations: 165.1 kB / 0.7308 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.6285, allocations: 89.03 kB / 0.7309 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.6285, allocations: 0 / 0.7309 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.6286, allocations: 8.031 kB / 0.7309 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.6286, allocations: 3.938 kB / 0.7309 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.6286, allocations: 4 kB / 0.7309 GB, free: 8.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.6287, allocations: 87.27 kB / 0.731 GB, free: 7.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6287, allocations: 0 / 0.731 GB, free: 7.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002288/0.6289, allocations: 12 kB / 0.731 GB, free: 7.957 MB / 0.545 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.0001721/0.6291, allocations: 107.2 kB / 0.7311 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.6292, allocations: 91.39 kB / 0.7312 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6292, allocations: 0 / 0.7312 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.6293, allocations: 63.34 kB / 0.7313 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.6294, allocations: 7.078 kB / 0.7313 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.6297, allocations: 110.6 kB / 0.7314 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.6299, allocations: 0.6809 MB / 0.732 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.273e-05/0.63, allocations: 20.36 kB / 0.7321 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.63, allocations: 7.438 kB / 0.7321 GB, free: 6.793 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.63, allocations: 0 / 0.7321 GB, free: 6.793 MB / 0.545 GB Notification: Performance of Templates: time 0.00267/0.6327, allocations: 493.1 kB / 0.7325 GB, free: 6.324 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: