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.00616/0.00616, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001224/0.001225, allocations: 194.6 kB / 16.68 MB, free: 5.98 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 279 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 103.8 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1769, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002217/0.1791, allocations: 0.5816 MB / 0.767 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.1794, allocations: 39.88 kB / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.1794, allocations: 0 / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.1795, allocations: 4 kB / 0.767 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.1796, allocations: 3.938 kB / 0.767 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1798, allocations: 15.98 kB / 0.7671 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.1799, allocations: 0 / 0.7671 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1799, allocations: 4 kB / 0.7671 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.18, allocations: 3.938 kB / 0.7671 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.18, allocations: 3.984 kB / 0.7671 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.18, allocations: 0 / 0.7671 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.1801, allocations: 19.98 kB / 0.7671 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.1802, allocations: 7.984 kB / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.1802, allocations: 7.938 kB / 0.7671 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1803, allocations: 31.86 kB / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1803, allocations: 0 / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1804, allocations: 0 / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.1804, allocations: 0 / 0.7671 GB, free: 7.707 MB / 0.5606 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.0003783/0.1808, allocations: 353.2 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1808, allocations: 12.03 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1808, allocations: 4.844 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.181, allocations: 168.3 kB / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.181, allocations: 384 / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.181, allocations: 8.375 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1812, allocations: 58.23 kB / 0.7677 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.1812, allocations: 192 / 0.7677 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1812, allocations: 7.922 kB / 0.7677 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.1812, allocations: 4 kB / 0.7677 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.1813, allocations: 23.98 kB / 0.7677 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1817, allocations: 272.7 kB / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.1818, allocations: 18.58 kB / 0.768 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.1818, allocations: 8.922 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.1818, allocations: 0 / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1818, allocations: 30.56 kB / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1818, allocations: 0 / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001956/0.182, allocations: 75.33 kB / 0.7681 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1821, allocations: 77.11 kB / 0.7682 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1822, allocations: 114 kB / 0.7683 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1822, allocations: 25.7 kB / 0.7683 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.1823, allocations: 107.8 kB / 0.7684 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.1823, allocations: 3.906 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1824, allocations: 25.66 kB / 0.7685 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1826, allocations: 326.8 kB / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.1826, allocations: 4 kB / 0.7688 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.1827, allocations: 62.86 kB / 0.7688 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1829, allocations: 130.1 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1829, allocations: 4 kB / 0.769 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001879/0.1831, allocations: 115.2 kB / 0.7691 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.1831, allocations: 36.12 kB / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1831, allocations: 8 kB / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1832, allocations: 0 / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1833, allocations: 12 kB / 0.7691 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1833, allocations: 4.469 kB / 0.7691 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.1834, allocations: 15.84 kB / 0.7692 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1834, allocations: 8 kB / 0.7692 GB, free: 5.312 MB / 0.5606 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 0.0001126/0.1835, allocations: 152.1 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1836, allocations: 7.938 kB / 0.7693 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.1836, allocations: 7.531 kB / 0.7693 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1836, allocations: 0 / 0.7693 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1836, allocations: 4 kB / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1836, allocations: 0 / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1838, allocations: 153.6 kB / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1838, allocations: 0 / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.1838, allocations: 0 / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1838, allocations: 0 / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1838, allocations: 3.984 kB / 0.7695 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1839, allocations: 0 / 0.7695 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1839, allocations: 4 kB / 0.7695 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.184, allocations: 173 kB / 0.7696 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.1841, allocations: 85.09 kB / 0.7697 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1841, allocations: 0 / 0.7697 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.1842, allocations: 4 kB / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.1842, allocations: 0 / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1842, allocations: 0 / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.1843, allocations: 95.31 kB / 0.7698 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1843, allocations: 4.031 kB / 0.7698 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004238/0.1847, allocations: 19.94 kB / 0.7698 GB, free: 4.508 MB / 0.5606 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.0001689/0.1849, allocations: 103.2 kB / 0.7699 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1851, allocations: 87.33 kB / 0.77 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1851, allocations: 0 / 0.77 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1851, allocations: 59.89 kB / 0.7701 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1855, allocations: 64 / 0.7701 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1858, allocations: 113 kB / 0.7702 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1861, allocations: 0.6768 MB / 0.7708 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.552e-05/0.1862, allocations: 15.73 kB / 0.7709 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.1862, allocations: 7.438 kB / 0.7709 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1862, allocations: 0 / 0.7709 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of Templates: time 0.003258/0.1895, allocations: 0.5383 MB / 0.7714 GB, free: 2.84 MB / 0.5606 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)