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.001765/0.001765, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002064/0.002064, allocations: 198.3 kB / 16.14 MB, free: 6.805 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 297.8 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.257/1.257, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004323/0.004323, allocations: 103.3 kB / 0.6057 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1791, allocations: 89.14 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001863/0.181, allocations: 0.6563 MB / 0.6934 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.1813, allocations: 35.88 kB / 0.6935 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.1813, allocations: 8 kB / 0.6935 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.1813, allocations: 3.984 kB / 0.6935 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.1814, allocations: 7.875 kB / 0.6935 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1816, allocations: 8 kB / 0.6935 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.888e-05/0.1816, allocations: 0 / 0.6935 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.1817, allocations: 7.984 kB / 0.6935 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.1817, allocations: 0 / 0.6935 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.288e-05/0.1817, allocations: 3.984 kB / 0.6935 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1817, allocations: 4 kB / 0.6935 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.1818, allocations: 19.98 kB / 0.6935 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.1818, allocations: 4 kB / 0.6935 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1819, allocations: 7.938 kB / 0.6935 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.182, allocations: 23.92 kB / 0.6936 GB, free: 4.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.182, allocations: 0 / 0.6936 GB, free: 4.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.182, allocations: 3.984 kB / 0.6936 GB, free: 4.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.182, allocations: 0 / 0.6936 GB, free: 4.035 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.0003653/0.1824, allocations: 345.3 kB / 0.6939 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1824, allocations: 12.03 kB / 0.6939 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1825, allocations: 8.828 kB / 0.6939 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1826, allocations: 164.6 kB / 0.6941 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1826, allocations: 8.312 kB / 0.6941 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1826, allocations: 8.359 kB / 0.6941 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1828, allocations: 54.25 kB / 0.6941 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1828, allocations: 4.172 kB / 0.6941 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1828, allocations: 3.938 kB / 0.6941 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.1828, allocations: 7.938 kB / 0.6942 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.1829, allocations: 23.98 kB / 0.6942 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1832, allocations: 268.9 kB / 0.6944 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.1833, allocations: 22.52 kB / 0.6945 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.1833, allocations: 8.922 kB / 0.6945 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.1833, allocations: 0 / 0.6945 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1834, allocations: 34.55 kB / 0.6945 GB, free: 2.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1834, allocations: 3.938 kB / 0.6945 GB, free: 2.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.00018/0.1836, allocations: 71.31 kB / 0.6946 GB, free: 2.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.1836, allocations: 85.17 kB / 0.6947 GB, free: 2.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.1837, allocations: 113.8 kB / 0.6948 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1838, allocations: 25.7 kB / 0.6948 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.1838, allocations: 103.8 kB / 0.6949 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.1838, allocations: 3.906 kB / 0.6949 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.1839, allocations: 25.7 kB / 0.6949 GB, free: 2.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.184, allocations: 322.8 kB / 0.6952 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.1841, allocations: 7.984 kB / 0.6952 GB, free: 2.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1841, allocations: 63.25 kB / 0.6953 GB, free: 2.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1843, allocations: 130.1 kB / 0.6954 GB, free: 1.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1843, allocations: 4 kB / 0.6954 GB, free: 1.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001535/0.1844, allocations: 127.4 kB / 0.6955 GB, free: 1.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.1845, allocations: 29.7 kB / 0.6956 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1845, allocations: 4 kB / 0.6956 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1845, allocations: 4 kB / 0.6956 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.1846, allocations: 8 kB / 0.6956 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1846, allocations: 8.141 kB / 0.6956 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.756e-05/0.1847, allocations: 19.83 kB / 0.6956 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1847, allocations: 4 kB / 0.6956 GB, free: 1.625 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 9.93e-05/0.1848, allocations: 147.4 kB / 0.6958 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.1848, allocations: 4.031 kB / 0.6958 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.1848, allocations: 7.531 kB / 0.6958 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1848, allocations: 4 kB / 0.6958 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1849, allocations: 0 / 0.6958 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1849, allocations: 3.984 kB / 0.6958 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.185, allocations: 149.6 kB / 0.6959 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.185, allocations: 0 / 0.6959 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-06/0.185, allocations: 3.984 kB / 0.6959 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.185, allocations: 0 / 0.6959 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1851, allocations: 0 / 0.6959 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1851, allocations: 4 kB / 0.6959 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1851, allocations: 4 kB / 0.6959 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1852, allocations: 165.2 kB / 0.6961 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.1853, allocations: 84.95 kB / 0.6962 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1853, allocations: 3.938 kB / 0.6962 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.1853, allocations: 7.938 kB / 0.6962 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.1854, allocations: 4 kB / 0.6962 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1854, allocations: 0 / 0.6962 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.077e-05/0.1854, allocations: 91.3 kB / 0.6963 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1854, allocations: 0 / 0.6963 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1857, allocations: 19.94 kB / 0.6963 GB, free: 0.8281 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.0001501/0.1858, allocations: 103.2 kB / 0.6964 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.186, allocations: 83.33 kB / 0.6965 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.186, allocations: 0.5 kB / 0.6965 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.186, allocations: 63.39 kB / 0.6965 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.1862, allocations: 0 / 0.6965 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.1864, allocations: 107 kB / 0.6966 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1868, allocations: 0.677 MB / 0.6973 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.222e-05/0.1869, allocations: 15.92 kB / 0.6973 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.1869, allocations: 11.5 kB / 0.6973 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1869, allocations: 4 kB / 0.6973 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.00283/0.1898, allocations: 0.5012 MB / 0.6978 GB, free: 15.2 MB / 0.4981 GB 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)