Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007005/0.007005, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001404/0.001404, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5988/0.5988, allocations: 95.48 MB / 365.4 MB, free: 9.746 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.91 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1808, allocations: 69.09 MB / 0.5711 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002111/0.1829, allocations: 0.5515 MB / 0.5716 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.1836, allocations: 259.4 kB / 0.5719 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1836, allocations: 0 / 0.5719 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.1836, allocations: 0 / 0.5719 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.647e-05/0.1837, allocations: 0 / 0.5719 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1841, allocations: 79.73 kB / 0.572 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.1841, allocations: 8 kB / 0.572 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1842, allocations: 3.984 kB / 0.572 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1842, allocations: 11.94 kB / 0.572 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.1843, allocations: 3.938 kB / 0.572 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1843, allocations: 4 kB / 0.572 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1845, allocations: 119.8 kB / 0.5721 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.1845, allocations: 0 / 0.5721 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.1845, allocations: 8 kB / 0.5721 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1847, allocations: 63.84 kB / 0.5722 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1847, allocations: 0 / 0.5722 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1847, allocations: 0 / 0.5722 GB, free: 7.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1847, allocations: 8 kB / 0.5722 GB, free: 7.164 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004236/0.1851, allocations: 335.5 kB / 0.5725 GB, free: 6.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1852, allocations: 11.98 kB / 0.5725 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1852, allocations: 4.938 kB / 0.5725 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1854, allocations: 168.3 kB / 0.5727 GB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1854, allocations: 3.938 kB / 0.5727 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1854, allocations: 3.906 kB / 0.5727 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1855, allocations: 33.7 kB / 0.5727 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1856, allocations: 8 kB / 0.5727 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1856, allocations: 0 / 0.5727 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1856, allocations: 4 kB / 0.5727 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.1856, allocations: 3.984 kB / 0.5727 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1858, allocations: 153.6 kB / 0.5729 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.1859, allocations: 26.53 kB / 0.5729 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.1859, allocations: 8.922 kB / 0.5729 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.1866, allocations: 461.5 kB / 0.5734 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1867, allocations: 30.56 kB / 0.5734 GB, free: 5.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1867, allocations: 4 kB / 0.5734 GB, free: 5.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001303/0.188, allocations: 428.2 kB / 0.5738 GB, free: 5.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.188, allocations: 51.41 kB / 0.5739 GB, free: 5.121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.1881, allocations: 97.84 kB / 0.5739 GB, free: 5.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1881, allocations: 29.7 kB / 0.574 GB, free: 4.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.1882, allocations: 84.36 kB / 0.5741 GB, free: 4.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1882, allocations: 11.81 kB / 0.5741 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1883, allocations: 17.72 kB / 0.5741 GB, free: 4.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1884, allocations: 318.8 kB / 0.5744 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.1884, allocations: 4 kB / 0.5744 GB, free: 4.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.1885, allocations: 21.66 kB / 0.5744 GB, free: 4.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.1885, allocations: 29.72 kB / 0.5744 GB, free: 4.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1885, allocations: 0 / 0.5744 GB, free: 4.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.74e-05/0.1886, allocations: 57.62 kB / 0.5745 GB, free: 4.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1886, allocations: 4 kB / 0.5745 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1886, allocations: 0 / 0.5745 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1887, allocations: 4 kB / 0.5745 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.1887, allocations: 7.984 kB / 0.5745 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1887, allocations: 0 / 0.5745 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.1888, allocations: 4 kB / 0.5745 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1888, allocations: 8.062 kB / 0.5745 GB, free: 4.383 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.483e-05/0.1889, allocations: 113.8 kB / 0.5746 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.1889, allocations: 0 / 0.5746 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.1891, allocations: 81.05 kB / 0.5747 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1891, allocations: 0 / 0.5747 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1891, allocations: 0 / 0.5747 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1891, allocations: 4 kB / 0.5747 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1892, allocations: 165.5 kB / 0.5749 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1893, allocations: 0 / 0.5749 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.1893, allocations: 11.98 kB / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1893, allocations: 0 / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1893, allocations: 144 / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1894, allocations: 3.938 kB / 0.5749 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1894, allocations: 4.062 kB / 0.5749 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1895, allocations: 112.9 kB / 0.575 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1896, allocations: 81.14 kB / 0.5751 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1896, allocations: 3.984 kB / 0.5751 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.1896, allocations: 0 / 0.5751 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.1897, allocations: 4 kB / 0.5751 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1897, allocations: 0 / 0.5751 GB, free: 3.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.481e-05/0.1897, allocations: 79.28 kB / 0.5752 GB, free: 3.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1897, allocations: 0 / 0.5752 GB, free: 3.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.19, allocations: 39.98 kB / 0.5752 GB, free: 3.582 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.000243/0.1902, allocations: 139.4 kB / 0.5753 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1903, allocations: 27.92 kB / 0.5754 GB, free: 3.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.1904, allocations: 0 / 0.5754 GB, free: 3.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.1904, allocations: 16 kB / 0.5754 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.1905, allocations: 3.938 kB / 0.5754 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.1908, allocations: 117.9 kB / 0.5755 GB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.1911, allocations: 0.6769 MB / 0.5761 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.1912, allocations: 12 kB / 0.5762 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1912, allocations: 11.44 kB / 0.5762 GB, free: 2.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1912, allocations: 0 / 0.5762 GB, free: 2.52 MB / 446.1 MB Notification: Performance of Templates: time 0.004041/0.1953, allocations: 1.365 MB / 0.5775 GB, free: 1.18 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)