Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 99.16 kB / 16.29 MB, free: 6 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.001156/0.001156, allocations: 184.2 kB / 17.22 MB, free: 5.617 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.196/1.196, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 75.02 kB / 0.6722 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1822, allocations: 114.5 MB / 0.7841 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002244/0.1845, allocations: 1.434 MB / 0.7855 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.1851, allocations: 383.5 kB / 0.7858 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1851, allocations: 0 / 0.7858 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.1852, allocations: 3.938 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.1852, allocations: 4 kB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1856, allocations: 119.6 kB / 0.786 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.1856, allocations: 23.92 kB / 0.786 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.1857, allocations: 8 kB / 0.786 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.1857, allocations: 15.91 kB / 0.786 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.257e-05/0.1858, allocations: 11.98 kB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1858, allocations: 0 / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.1861, allocations: 275.7 kB / 0.7863 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.1862, allocations: 11.88 kB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.1862, allocations: 7.922 kB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1864, allocations: 115.8 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1864, allocations: 3.984 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1864, allocations: 4 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1864, allocations: 0 / 0.7864 GB, free: 1.535 MB / 0.6544 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.0003849/0.1868, allocations: 359.7 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.1868, allocations: 8.031 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1869, allocations: 0.9375 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.604e-05/0.187, allocations: 176.3 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.187, allocations: 4.375 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.187, allocations: 384 / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1871, allocations: 50.19 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1871, allocations: 192 / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1871, allocations: 7.922 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1872, allocations: 4 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1873, allocations: 27.97 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.1876, allocations: 257 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1877, allocations: 38.5 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.1878, allocations: 24.84 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2824/0.4702, allocations: 459.4 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.4702, allocations: 32.48 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/0.4702, allocations: 0 / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003326/0.4706, allocations: 81.16 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.4706, allocations: 54.84 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.713e-05/0.4707, allocations: 109 kB / 0.788 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.4707, allocations: 25.7 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.4707, allocations: 89.25 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.4707, allocations: 6.406 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.4708, allocations: 15.09 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.4708, allocations: 321.4 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.4709, allocations: 13.53 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.4709, allocations: 21.8 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4711, allocations: 39.11 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4711, allocations: 1.938 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001543/0.4712, allocations: 72.52 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4712, allocations: 5.375 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4712, allocations: 3.969 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4713, allocations: 2.688 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.4713, allocations: 6.156 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4713, allocations: 0 / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.4714, allocations: 9.969 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4714, allocations: 3.344 kB / 0.7886 GB, free: 48.01 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.4714, allocations: 113 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4715, allocations: 2.594 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.4717, allocations: 78.02 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4717, allocations: 0 / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4717, allocations: 0 / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4717, allocations: 0 / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.4718, allocations: 163 kB / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4718, allocations: 6.25 kB / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.4718, allocations: 9.391 kB / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4719, allocations: 1.219 kB / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.4719, allocations: 0 / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4719, allocations: 0 / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4719, allocations: 5.969 kB / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.472, allocations: 171.4 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.4721, allocations: 77.11 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.4721, allocations: 2.625 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.4722, allocations: 5.766 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.4722, allocations: 6.438 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.4722, allocations: 2.625 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.847e-05/0.4722, allocations: 90.78 kB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4722, allocations: 0 / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002148/0.4724, allocations: 14.98 kB / 0.7894 GB, free: 47.37 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.0001161/0.4726, allocations: 113.2 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.4727, allocations: 37.62 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4728, allocations: 0.6875 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.4728, allocations: 16.84 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4731, allocations: 8.625 kB / 0.7895 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/0.4733, allocations: 110.1 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.499e-05/0.4734, allocations: 0.6756 MB / 0.7903 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.4734, allocations: 2.641 kB / 0.7903 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.4734, allocations: 10.62 kB / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.4734, allocations: 0 / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.002206/0.4756, allocations: 0.7142 MB / 0.791 GB, free: 46.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)