Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 304.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 186.8 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.6316 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 98.3 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 13.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1857, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001296/0.1871, allocations: 1.152 MB / 0.9819 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.1876, allocations: 360.8 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1876, allocations: 0 / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.1876, allocations: 0 / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.27e-05/0.1877, allocations: 3.938 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.188, allocations: 71.84 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.1881, allocations: 23.92 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.1881, allocations: 15.98 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.1882, allocations: 15.86 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.13e-05/0.1882, allocations: 11.98 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1882, allocations: 0 / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.1885, allocations: 267.6 kB / 0.9826 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-06/0.1885, allocations: 0 / 0.9826 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1885, allocations: 33.64 kB / 0.9826 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1886, allocations: 63.88 kB / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1887, allocations: 0 / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1887, allocations: 0 / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.1887, allocations: 0 / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003342/0.189, allocations: 375.6 kB / 0.983 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1891, allocations: 8.031 kB / 0.983 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1891, allocations: 0.9375 kB / 0.983 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.1892, allocations: 172.3 kB / 0.9832 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1892, allocations: 384 / 0.9832 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1892, allocations: 4.375 kB / 0.9832 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1894, allocations: 58.23 kB / 0.9833 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1894, allocations: 4.188 kB / 0.9833 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1894, allocations: 3.938 kB / 0.9833 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1894, allocations: 3.984 kB / 0.9833 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1896, allocations: 51.89 kB / 0.9833 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.1899, allocations: 245 kB / 0.9836 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.19, allocations: 50.48 kB / 0.9836 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.1901, allocations: 32.91 kB / 0.9836 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/0.1906, allocations: 457.5 kB / 0.9841 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.1906, allocations: 38.55 kB / 0.9841 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.1906, allocations: 0 / 0.9841 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003701/0.191, allocations: 97.69 kB / 0.9842 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.191, allocations: 59.33 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.1911, allocations: 101.9 kB / 0.9844 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.1911, allocations: 29.7 kB / 0.9844 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.1911, allocations: 80.14 kB / 0.9845 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.1912, allocations: 15.83 kB / 0.9845 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.1912, allocations: 0 / 0.9845 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.1912, allocations: 322.8 kB / 0.9848 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.1913, allocations: 19.98 kB / 0.9848 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.1914, allocations: 19.98 kB / 0.9848 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1915, allocations: 56.81 kB / 0.9849 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1915, allocations: 4 kB / 0.9849 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.1917, allocations: 85.5 kB / 0.985 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1917, allocations: 4 kB / 0.985 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1917, allocations: 0 / 0.985 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1918, allocations: 0 / 0.985 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.1918, allocations: 16 kB / 0.985 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1919, allocations: 0 / 0.985 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1919, allocations: 8.016 kB / 0.985 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1919, allocations: 4 kB / 0.985 GB, free: 22.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.192, allocations: 113.8 kB / 0.9851 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.192, allocations: 3.938 kB / 0.9851 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1922, allocations: 97.11 kB / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1922, allocations: 0 / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1922, allocations: 0 / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.1922, allocations: 77.11 kB / 0.9853 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1922, allocations: 0 / 0.9853 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1923, allocations: 11.98 kB / 0.9853 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.1924, allocations: 0 / 0.9853 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002005/0.1926, allocations: 164.9 kB / 0.9854 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002018/0.1928, allocations: 258.7 kB / 0.9857 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.137e-05/0.1929, allocations: 23.97 kB / 0.9857 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.17e-05/0.1929, allocations: 87.53 kB / 0.9858 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of Backend: time 2.81e-07/0.1929, allocations: 4.031 kB / 0.9858 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.1934, allocations: 143.3 kB / 0.9859 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003356/0.1937, allocations: 0.5565 MB / 0.9865 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.002859/0.1966, allocations: 1.304 MB / 0.9878 GB, free: 19.71 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)