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.0008692/0.0008692, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00602/0.00602, allocations: 170 kB / 16.27 MB, free: 6.652 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.36/1.36, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.64/1.64, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0004773/0.0004773, allocations: 15.38 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2015, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006948/0.2022, allocations: 327.4 kB / 0.7882 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002453/0.2025, allocations: 43.88 kB / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.2025, allocations: 0 / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.2025, allocations: 0 / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.012e-05/0.2026, allocations: 0 / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2027, allocations: 11.92 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.2028, allocations: 8 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.2028, allocations: 4 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.2028, allocations: 8 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.2029, allocations: 3.984 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2029, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.203, allocations: 15.98 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.203, allocations: 11.92 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.2031, allocations: 29.64 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.549e-05/0.2032, allocations: 15.98 kB / 0.7883 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2032, allocations: 4 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2032, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2032, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 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.0002934/0.2035, allocations: 349.3 kB / 0.7887 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2035, allocations: 8.031 kB / 0.7887 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2036, allocations: 8.844 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.2037, allocations: 164.6 kB / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2037, allocations: 4.312 kB / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.2037, allocations: 384 / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2038, allocations: 66.16 kB / 0.7889 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2039, allocations: 4.188 kB / 0.7889 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2039, allocations: 3.938 kB / 0.7889 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.2039, allocations: 4 kB / 0.7889 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.204, allocations: 27.98 kB / 0.789 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.2043, allocations: 264.8 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.2043, allocations: 22.52 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.2044, allocations: 8.922 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.2044, allocations: 0 / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2044, allocations: 30.56 kB / 0.7893 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.2044, allocations: 4 kB / 0.7893 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.2046, allocations: 71.39 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.2046, allocations: 77.11 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.2047, allocations: 109.8 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2047, allocations: 25.7 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.2048, allocations: 111.7 kB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.2048, allocations: 7.844 kB / 0.7897 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.2049, allocations: 17.72 kB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.205, allocations: 318.9 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.205, allocations: 15.98 kB / 0.79 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.2051, allocations: 58.94 kB / 0.7901 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.2052, allocations: 130.1 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2052, allocations: 0 / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001521/0.2053, allocations: 119.2 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.2054, allocations: 33.7 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2054, allocations: 0 / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2054, allocations: 8 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.2055, allocations: 19.92 kB / 0.7904 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2055, allocations: 480 / 0.7904 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.2056, allocations: 11.84 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2056, allocations: 8.25 kB / 0.7904 GB, free: 8.688 MB / 0.6075 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.122e-05/0.2057, allocations: 151.4 kB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2057, allocations: 3.984 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.2058, allocations: 7.531 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2058, allocations: 3.938 kB / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2058, allocations: 0 / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2058, allocations: 0 / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2059, allocations: 161.6 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2059, allocations: 0 / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-07/0.2059, allocations: 0 / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.206, allocations: 11.98 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.206, allocations: 0 / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.206, allocations: 0 / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.206, allocations: 0 / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2061, allocations: 165.2 kB / 0.7909 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.2062, allocations: 81.02 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2062, allocations: 4 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.2062, allocations: 32 / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.2063, allocations: 4 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2063, allocations: 7.984 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.107e-05/0.2063, allocations: 95.2 kB / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2063, allocations: 0 / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002438/0.2066, allocations: 11.94 kB / 0.791 GB, free: 7.883 MB / 0.6075 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.000142/0.2067, allocations: 107.2 kB / 0.7912 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.2069, allocations: 87.58 kB / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2069, allocations: 0 / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.207, allocations: 59.41 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.2072, allocations: 7.938 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.2074, allocations: 106.8 kB / 0.7914 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2076, allocations: 0.6848 MB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.987e-05/0.2077, allocations: 16.28 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.2077, allocations: 11.44 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2077, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.002402/0.2101, allocations: 496.7 kB / 0.7926 GB, free: 6.246 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: