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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 175.2 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000852/0.000852, allocations: 88.66 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 9.375 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007396/0.2399, allocations: 334.3 kB / 0.9018 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.2401, allocations: 39.88 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.2402, allocations: 0 / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2402, allocations: 0 / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.2403, allocations: 3.938 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.2404, allocations: 8 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.2405, allocations: 7.984 kB / 0.9018 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.2405, allocations: 1.281 kB / 0.9018 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.2406, allocations: 4 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.2406, allocations: 4 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2406, allocations: 0 / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.2407, allocations: 23.86 kB / 0.9019 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.2408, allocations: 11.98 kB / 0.9019 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.2408, allocations: 29.64 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.271e-05/0.2409, allocations: 11.98 kB / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2409, allocations: 0 / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2409, allocations: 0 / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2409, allocations: 0 / 0.9019 GB, free: 62.85 MB / 0.6042 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.0002579/0.2412, allocations: 349.2 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2412, allocations: 16.03 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.2413, allocations: 0.9375 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.58e-05/0.2413, allocations: 164.4 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2413, allocations: 8.312 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2414, allocations: 384 / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2415, allocations: 54.25 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2415, allocations: 192 / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2415, allocations: 7.875 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.2415, allocations: 4 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.2416, allocations: 27.98 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.2419, allocations: 277 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.2419, allocations: 18.58 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.2419, allocations: 4.859 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.242, allocations: 0 / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.242, allocations: 34.5 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.242, allocations: 4 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.2421, allocations: 71.45 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.2422, allocations: 77.11 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.2423, allocations: 117.7 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.2423, allocations: 25.7 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.2423, allocations: 107.8 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-06/0.2423, allocations: 0 / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.2423, allocations: 4 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.2424, allocations: 322.9 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.2424, allocations: 11.98 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.2424, allocations: 58.8 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/0.2425, allocations: 134.2 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2425, allocations: 0 / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.2427, allocations: 119.2 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.2427, allocations: 37.7 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2427, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2427, allocations: 4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.2428, allocations: 19.92 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2428, allocations: 0 / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.2429, allocations: 11.84 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.2429, allocations: 8 kB / 0.9039 GB, free: 60.48 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.243, allocations: 151.7 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.243, allocations: 0 / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.243, allocations: 7.531 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.243, allocations: 3.938 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.243, allocations: 0 / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.243, allocations: 0 / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2432, allocations: 161.5 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2432, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.2432, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2432, allocations: 11.92 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2432, allocations: 4 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2432, allocations: 4 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2432, allocations: 0 / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/0.2433, allocations: 169.1 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.2433, allocations: 77.11 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2433, allocations: 4 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.2434, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.2434, allocations: 8.016 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2434, allocations: 4 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.2435, allocations: 87.28 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2435, allocations: 0 / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002328/0.2437, allocations: 15.94 kB / 0.9046 GB, free: 59.68 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/0.2439, allocations: 113 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.244, allocations: 91.7 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.244, allocations: 0 / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.244, allocations: 55.41 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.2442, allocations: 8 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.2444, allocations: 128.3 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2445, allocations: 0.6848 MB / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-06/0.2446, allocations: 7.438 kB / 0.9057 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2446, allocations: 0 / 0.9057 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.001876/0.2464, allocations: 0.674 MB / 0.9063 GB, free: 57.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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)