Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009351/0.000935, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.141/1.141, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.528/1.528, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001345/0.001345, allocations: 77.67 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00163/0.1726, allocations: 0.5897 MB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005283/0.1732, allocations: 318.8 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.288e-05/0.1732, allocations: 0 / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.1733, allocations: 0 / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.097e-06/0.1733, allocations: 0 / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.1737, allocations: 107.7 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.398e-05/0.1737, allocations: 3.984 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.1737, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.165e-05/0.1738, allocations: 4 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.65e-05/0.1738, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.1738, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.1741, allocations: 275.6 kB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.1742, allocations: 0 / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.1742, allocations: 7.938 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1743, allocations: 87.84 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1743, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1743, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.1743, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002616/0.1746, allocations: 335.6 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.1746, allocations: 8.031 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1747, allocations: 4.938 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.517e-05/0.1748, allocations: 164.3 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1748, allocations: 384 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1748, allocations: 4.375 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.165e-05/0.1749, allocations: 38.25 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.1749, allocations: 192 / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.1749, allocations: 3.938 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1749, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.1749, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.1751, allocations: 153.6 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.1751, allocations: 22.55 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.1751, allocations: 8.859 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.1755, allocations: 425.6 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1756, allocations: 34.55 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1756, allocations: 0 / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.1757, allocations: 41.64 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1757, allocations: 55.34 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.754e-05/0.1758, allocations: 89.86 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1758, allocations: 25.7 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.1758, allocations: 80.14 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.1758, allocations: 7.906 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.1759, allocations: 17.66 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.176, allocations: 310.8 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.176, allocations: 4.125 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.176, allocations: 3.984 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.176, allocations: 8.859 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.176, allocations: 0 / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.184e-05/0.1761, allocations: 37.7 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1761, allocations: 4 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1761, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1761, allocations: 3.938 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.115e-05/0.1762, allocations: 4.094 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1762, allocations: 7.938 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-06/0.1762, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.1762, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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 5.725e-05/0.1763, allocations: 109.8 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.1763, allocations: 4 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.1764, allocations: 44.75 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1764, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1764, allocations: 4.031 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.1764, allocations: 0 / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.81e-05/0.1765, allocations: 149.6 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1765, allocations: 4 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.1765, allocations: 0 / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1765, allocations: 0 / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1765, allocations: 3.938 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1765, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1765, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.832e-05/0.1766, allocations: 69.06 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.1766, allocations: 77.11 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.1766, allocations: 3.938 kB / 0.7877 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.1767, allocations: 11.94 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.1767, allocations: 3.938 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.1767, allocations: 0 / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.272e-05/0.1767, allocations: 75.28 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001871/0.1769, allocations: 8 kB / 0.7878 GB, free: 8.547 MB / 0.6075 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): 1 * 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.0001436/0.177, allocations: 119.3 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.174e-05/0.1771, allocations: 7.938 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1771, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.1771, allocations: 4 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1772, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001449/0.1774, allocations: 88.02 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.1776, allocations: 0.6769 MB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.1776, allocations: 0 / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-06/0.1776, allocations: 7.438 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1776, allocations: 0 / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.00198/0.1796, allocations: 457.3 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)