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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001357/0.001357, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.332/1.332, allocations: 205.1 MB / 222 MB, free: 4.992 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.698/1.698, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001392/0.001392, allocations: 66.69 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2109, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001679/0.2127, allocations: 0.6509 MB / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002344/0.2129, allocations: 35.88 kB / 0.7834 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.2129, allocations: 0 / 0.7834 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.213, allocations: 4 kB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.213, allocations: 0 / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.2132, allocations: 11.98 kB / 0.7834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.733e-05/0.2132, allocations: 8 kB / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.2132, allocations: 7.984 kB / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.2133, allocations: 0 / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.2133, allocations: 7.922 kB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2133, allocations: 4 kB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.2134, allocations: 19.98 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2134, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.2134, allocations: 7.938 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.487e-05/0.2135, allocations: 23.91 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2135, allocations: 0 / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2135, allocations: 0 / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.2135, allocations: 4 kB / 0.7835 GB, free: 13.23 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.0002974/0.2138, allocations: 353.2 kB / 0.7838 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2139, allocations: 12.03 kB / 0.7838 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2139, allocations: 4.844 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.214, allocations: 168.6 kB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.214, allocations: 384 / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.214, allocations: 4.375 kB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.2141, allocations: 54.25 kB / 0.784 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.2142, allocations: 192 / 0.784 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2142, allocations: 7.938 kB / 0.784 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.2142, allocations: 4 kB / 0.784 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.2142, allocations: 27.92 kB / 0.7841 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.2145, allocations: 272.8 kB / 0.7843 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.228e-05/0.2146, allocations: 14.58 kB / 0.7843 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.2146, allocations: 8.922 kB / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.2146, allocations: 0 / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2147, allocations: 34.56 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2147, allocations: 3.938 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.2148, allocations: 75.33 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2149, allocations: 77.11 kB / 0.7845 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.215, allocations: 109.8 kB / 0.7846 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.215, allocations: 25.7 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.215, allocations: 111.8 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.215, allocations: 8.031 kB / 0.7848 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.2151, allocations: 25.72 kB / 0.7848 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.2152, allocations: 326.8 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.2152, allocations: 4 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.2153, allocations: 58.86 kB / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.2154, allocations: 134.1 kB / 0.7853 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2154, allocations: 4 kB / 0.7853 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001392/0.2155, allocations: 115.2 kB / 0.7854 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2156, allocations: 37.62 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2156, allocations: 4 kB / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.2156, allocations: 0 / 0.7854 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.2157, allocations: 12 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2157, allocations: 8.188 kB / 0.7855 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.2157, allocations: 19.84 kB / 0.7855 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2158, allocations: 4 kB / 0.7855 GB, free: 10.83 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 8.367e-05/0.2158, allocations: 144.1 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.2159, allocations: 4 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.2159, allocations: 7.531 kB / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2159, allocations: 0 / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2159, allocations: 7.984 kB / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.2159, allocations: 0 / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.216, allocations: 157.6 kB / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2161, allocations: 0 / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.2161, allocations: 0 / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2161, allocations: 0 / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2161, allocations: 0 / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2161, allocations: 3.984 kB / 0.7858 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2161, allocations: 4 kB / 0.7858 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2162, allocations: 169 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.2162, allocations: 85.12 kB / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2163, allocations: 0 / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.2163, allocations: 0 / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.2163, allocations: 8 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.2164, allocations: 4 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.2164, allocations: 87.73 kB / 0.7861 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2164, allocations: 0 / 0.7861 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002428/0.2167, allocations: 23.88 kB / 0.7862 GB, free: 10.03 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.0001324/0.2168, allocations: 103.2 kB / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.2169, allocations: 87.33 kB / 0.7863 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2169, allocations: 0 / 0.7863 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.217, allocations: 63.33 kB / 0.7864 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2172, allocations: 0 / 0.7864 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.2174, allocations: 115.2 kB / 0.7865 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2176, allocations: 0.6809 MB / 0.7872 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.812e-05/0.2177, allocations: 11.98 kB / 0.7872 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-06/0.2177, allocations: 7.438 kB / 0.7872 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2177, allocations: 0 / 0.7872 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.002318/0.2201, allocations: 0.5014 MB / 0.7877 GB, free: 8.387 MB / 0.6075 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)