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.001107/0.001107, allocations: 98.75 kB / 16.27 MB, free: 6.418 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.001184/0.001184, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.539/1.539, 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.892/1.892, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.002289/0.002289, allocations: 71.88 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2892, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001958/0.2912, allocations: 0.5863 MB / 0.7846 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.2915, allocations: 39.88 kB / 0.7846 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.2915, allocations: 0 / 0.7846 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.2916, allocations: 0 / 0.7846 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.2916, allocations: 4 kB / 0.7847 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.2918, allocations: 11.98 kB / 0.7847 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.2919, allocations: 4 kB / 0.7847 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.292, allocations: 3.984 kB / 0.7847 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.292, allocations: 0 / 0.7847 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.2921, allocations: 11.92 kB / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2921, allocations: 0 / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.2922, allocations: 27.98 kB / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.2922, allocations: 0 / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.2923, allocations: 11.88 kB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2924, allocations: 15.98 kB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.2924, allocations: 0 / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2924, allocations: 3.938 kB / 0.7847 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2924, allocations: 3.984 kB / 0.7847 GB, free: 3.184 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.0003591/0.2928, allocations: 345.3 kB / 0.7851 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2928, allocations: 12.03 kB / 0.7851 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.2929, allocations: 4.922 kB / 0.7851 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.293, allocations: 172.6 kB / 0.7853 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.293, allocations: 4.375 kB / 0.7853 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.293, allocations: 384 / 0.7853 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.2932, allocations: 58.23 kB / 0.7853 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2932, allocations: 192 / 0.7853 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2932, allocations: 7.875 kB / 0.7853 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2932, allocations: 4 kB / 0.7853 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.2933, allocations: 27.92 kB / 0.7854 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.2937, allocations: 272.8 kB / 0.7856 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.2937, allocations: 14.64 kB / 0.7856 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.2937, allocations: 8.859 kB / 0.7856 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.2938, allocations: 0 / 0.7856 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2938, allocations: 34.55 kB / 0.7857 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 4.749e-06/0.2938, allocations: 3.984 kB / 0.7857 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000191/0.294, allocations: 79.34 kB / 0.7857 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.294, allocations: 77.11 kB / 0.7858 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.2941, allocations: 113.8 kB / 0.7859 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2942, allocations: 25.7 kB / 0.786 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.2942, allocations: 103.8 kB / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.2942, allocations: 0 / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.2943, allocations: 29.61 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2944, allocations: 322.8 kB / 0.7864 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.2944, allocations: 12.02 kB / 0.7864 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.2945, allocations: 62.88 kB / 0.7865 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2946, allocations: 130.2 kB / 0.7866 GB, free: 1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2946, allocations: 0 / 0.7866 GB, free: 1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001332/0.2947, allocations: 123.3 kB / 0.7867 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.2948, allocations: 33.7 kB / 0.7867 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2948, allocations: 0 / 0.7867 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2948, allocations: 4 kB / 0.7867 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.2949, allocations: 15.88 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2949, allocations: 4.469 kB / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.295, allocations: 19.83 kB / 0.7868 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.295, allocations: 4 kB / 0.7868 GB, free: 0.7812 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 9.296e-05/0.2951, allocations: 147.6 kB / 0.7869 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2952, allocations: 0 / 0.7869 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.2952, allocations: 11.53 kB / 0.7869 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2952, allocations: 4 kB / 0.7869 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2952, allocations: 0 / 0.7869 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2952, allocations: 3.984 kB / 0.7869 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2954, allocations: 149.6 kB / 0.7871 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2954, allocations: 0 / 0.7871 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.2954, allocations: 3.984 kB / 0.7871 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2954, allocations: 0 / 0.7871 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2954, allocations: 4 kB / 0.7871 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.2954, allocations: 4 kB / 0.7871 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2954, allocations: 3.938 kB / 0.7871 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.2955, allocations: 169.1 kB / 0.7873 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.2956, allocations: 81.02 kB / 0.7873 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.2956, allocations: 0 / 0.7873 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.2957, allocations: 4 kB / 0.7873 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2957, allocations: 4 kB / 0.7873 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.2957, allocations: 4.031 kB / 0.7873 GB, free: 96 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.2958, allocations: 91.25 kB / 0.7874 GB, free: 4 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2958, allocations: 0 / 0.7874 GB, free: 4 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.433/0.7288, allocations: 16.8 kB / 0.7874 GB, free: 48.58 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.0002485/0.7291, allocations: 103 kB / 0.7875 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.7293, allocations: 87.31 kB / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7293, allocations: 0 / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.7293, allocations: 59.41 kB / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.7296, allocations: 2.906 kB / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.7298, allocations: 134.4 kB / 0.7878 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.73, allocations: 0.6778 MB / 0.7885 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.73, allocations: 10.06 kB / 0.7885 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.984e-06/0.73, allocations: 0 / 0.7885 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.002532/0.7326, allocations: 0.6682 MB / 0.7891 GB, free: 47.54 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)