Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007712/0.0007712, allocations: 89.81 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.004673/0.004674, allocations: 169.3 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 271.2 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004496, allocations: 19.44 kB / 0.5987 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007141/0.1929, allocations: 319.2 kB / 0.6854 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.1932, allocations: 41.38 kB / 0.6855 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.1932, allocations: 4 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.1932, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.1933, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1934, allocations: 5.219 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.694e-05/0.1935, allocations: 11.92 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1935, allocations: 5.844 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1936, allocations: 0 / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.149e-05/0.1936, allocations: 0 / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1936, allocations: 4 kB / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.1937, allocations: 15.98 kB / 0.6855 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.1937, allocations: 3.984 kB / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.1938, allocations: 40.23 kB / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.736e-05/0.1939, allocations: 23.91 kB / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1939, allocations: 0 / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1939, allocations: 0 / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1939, allocations: 0 / 0.6856 GB, free: 14.61 MB / 494.1 MB 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.0002883/0.1942, allocations: 345.6 kB / 0.6859 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1942, allocations: 12.52 kB / 0.6859 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1943, allocations: 1.438 kB / 0.6859 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.1944, allocations: 169.3 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1944, allocations: 4.375 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1944, allocations: 384 / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1945, allocations: 55.88 kB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1946, allocations: 192 / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1946, allocations: 3.938 kB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.1946, allocations: 4.75 kB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.1947, allocations: 27.97 kB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.195, allocations: 274.9 kB / 0.6865 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.195, allocations: 22.56 kB / 0.6865 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.1951, allocations: 8.859 kB / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.1951, allocations: 4.578 kB / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1951, allocations: 33.19 kB / 0.6865 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1951, allocations: 0 / 0.6865 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.1953, allocations: 71.41 kB / 0.6866 GB, free: 13.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1953, allocations: 84.98 kB / 0.6867 GB, free: 13.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.1954, allocations: 119.6 kB / 0.6868 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1954, allocations: 29.7 kB / 0.6868 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.1955, allocations: 99.8 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-06/0.1955, allocations: 4 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.1955, allocations: 17.7 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.1956, allocations: 319.5 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.1957, allocations: 8.875 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.1957, allocations: 60.89 kB / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1958, allocations: 126.9 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1958, allocations: 4 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001355/0.196, allocations: 131.1 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.196, allocations: 29.7 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.196, allocations: 4 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.196, allocations: 0 / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.1961, allocations: 12 kB / 0.6876 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1961, allocations: 4 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.1962, allocations: 7.938 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1962, allocations: 4 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB 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.983e-05/0.1963, allocations: 157 kB / 0.6878 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1963, allocations: 7.906 kB / 0.6878 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.321e-05/0.1964, allocations: 3.531 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1964, allocations: 0 / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1964, allocations: 4 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1964, allocations: 0 / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1965, allocations: 157.6 kB / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1965, allocations: 0 / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1966, allocations: 0 / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1966, allocations: 4 kB / 0.6879 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.1966, allocations: 3.984 kB / 0.6879 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1966, allocations: 0 / 0.6879 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1966, allocations: 8 kB / 0.6879 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1967, allocations: 165.1 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1967, allocations: 81.09 kB / 0.6882 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1968, allocations: 0 / 0.6882 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.1968, allocations: 0 / 0.6882 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.1968, allocations: 11.97 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1968, allocations: 0 / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.1969, allocations: 95.72 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1969, allocations: 0 / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1971, allocations: 15.94 kB / 0.6883 GB, free: 11.44 MB / 494.1 MB 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.000146/0.1973, allocations: 103.3 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.1974, allocations: 91.64 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1974, allocations: 4 kB / 0.6885 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.1975, allocations: 63.39 kB / 0.6885 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.1977, allocations: 0 / 0.6885 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.1979, allocations: 116.7 kB / 0.6886 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1981, allocations: 0.6808 MB / 0.6893 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.1982, allocations: 16.17 kB / 0.6893 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.1982, allocations: 7.438 kB / 0.6893 GB, free: 10.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1982, allocations: 0 / 0.6893 GB, free: 10.28 MB / 494.1 MB Notification: Performance of Templates: time 0.00252/0.2008, allocations: 0.4917 MB / 0.6898 GB, free: 9.801 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)