Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001023/0.001023, allocations: 101.9 kB / 16.29 MB, free: 6.027 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.0009188/0.0009189, allocations: 181.5 kB / 17.22 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.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.001303/0.001303, allocations: 71.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1916, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001596/0.1933, allocations: 0.5786 MB / 0.7846 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002013/0.1935, allocations: 35.88 kB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.1935, allocations: 4 kB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.1935, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.718e-05/0.1936, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1937, allocations: 7.984 kB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.1938, allocations: 11.94 kB / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.1939, allocations: 3.938 kB / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.899e-05/0.1939, allocations: 11.98 kB / 0.7847 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.1939, allocations: 3.938 kB / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1939, allocations: 0 / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-05/0.194, allocations: 23.97 kB / 0.7847 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.194, allocations: 8 kB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.1941, allocations: 3.938 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.225e-05/0.1942, allocations: 23.92 kB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1942, allocations: 0 / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1942, allocations: 0 / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1942, allocations: 0 / 0.7848 GB, free: 3.102 MB / 0.6544 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.000283/0.1945, allocations: 353.3 kB / 0.7851 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1945, allocations: 8.031 kB / 0.7851 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.1945, allocations: 0.9375 kB / 0.7851 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/0.1946, allocations: 172.6 kB / 0.7853 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1946, allocations: 4.375 kB / 0.7853 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1946, allocations: 4.359 kB / 0.7853 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1948, allocations: 62.19 kB / 0.7854 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.1948, allocations: 192 / 0.7854 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1948, allocations: 7.938 kB / 0.7854 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.1948, allocations: 4 kB / 0.7854 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.1949, allocations: 31.97 kB / 0.7854 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.1951, allocations: 260.8 kB / 0.7857 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/0.1952, allocations: 26.52 kB / 0.7857 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.1952, allocations: 4.859 kB / 0.7857 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-06/0.1952, allocations: 64 / 0.7857 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1952, allocations: 34.56 kB / 0.7857 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1952, allocations: 4 kB / 0.7857 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.1954, allocations: 67.3 kB / 0.7858 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1954, allocations: 85.11 kB / 0.7859 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1955, allocations: 113.8 kB / 0.786 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1956, allocations: 25.7 kB / 0.786 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.1956, allocations: 111.8 kB / 0.7861 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-06/0.1957, allocations: 3.938 kB / 0.7861 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1957, allocations: 25.75 kB / 0.7861 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1958, allocations: 322.8 kB / 0.7864 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.1958, allocations: 12 kB / 0.7864 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.1959, allocations: 58.86 kB / 0.7865 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.196, allocations: 130.1 kB / 0.7866 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.196, allocations: 0 / 0.7866 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001735/0.1962, allocations: 115.2 kB / 0.7867 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.1962, allocations: 37.64 kB / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1962, allocations: 3.938 kB / 0.7868 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1962, allocations: 7.984 kB / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.1963, allocations: 15.94 kB / 0.7868 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1963, allocations: 0 / 0.7868 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.1964, allocations: 11.84 kB / 0.7868 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1964, allocations: 12.25 kB / 0.7868 GB, free: 0.6914 MB / 0.6544 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 7.485e-05/0.1965, allocations: 147.5 kB / 0.787 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1965, allocations: 7.938 kB / 0.787 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-06/0.1965, allocations: 3.531 kB / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1965, allocations: 0 / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1965, allocations: 0 / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1965, allocations: 0 / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1967, allocations: 157.6 kB / 0.7871 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1967, allocations: 0 / 0.7871 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1967, allocations: 4 kB / 0.7871 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1967, allocations: 4 kB / 0.7871 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1967, allocations: 0 / 0.7871 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1967, allocations: 0 / 0.7871 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1967, allocations: 0 / 0.7871 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.1968, allocations: 165.2 kB / 0.7873 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1969, allocations: 81.02 kB / 0.7874 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1969, allocations: 7.984 kB / 0.7874 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.1969, allocations: 8.031 kB / 0.7874 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.1969, allocations: 0 / 0.7874 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.197, allocations: 4 kB / 0.7874 GB, free: 8 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.3131/0.51, allocations: 85.62 kB / 0.7875 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.11e-07/0.5101, allocations: 2.438 kB / 0.7875 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002735/0.5104, allocations: 12.09 kB / 0.7875 GB, free: 48.44 MB / 0.6544 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.0001509/0.5105, allocations: 106.2 kB / 0.7876 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.5107, allocations: 86.11 kB / 0.7877 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5107, allocations: 0 / 0.7877 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.5107, allocations: 62.44 kB / 0.7877 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.5109, allocations: 8.109 kB / 0.7877 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.5111, allocations: 102.2 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.898e-05/0.5112, allocations: 0.681 MB / 0.7885 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.5113, allocations: 9.391 kB / 0.7885 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.5113, allocations: 13.12 kB / 0.7885 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.5113, allocations: 0 / 0.7885 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.002163/0.5135, allocations: 0.5118 MB / 0.789 GB, free: 47.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)