Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.811/1.811, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.001154/0.001154, allocations: 177 kB / 371.8 MB, free: 10.28 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.912/1.912, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0009521/0.0009523, allocations: 98.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004413, allocations: 17.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2587, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007661/0.2595, allocations: 314.1 kB / 0.9797 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.2601, allocations: 292.9 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.22e-05/0.2601, allocations: 0 / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2601, allocations: 0 / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-06/0.2601, allocations: 0 / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.2605, allocations: 70.28 kB / 0.9801 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.801e-05/0.2606, allocations: 3.938 kB / 0.9801 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.2606, allocations: 4 kB / 0.9801 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.2606, allocations: 4 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.155e-05/0.2607, allocations: 3.984 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2607, allocations: 0 / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.261, allocations: 259.6 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.2611, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.2611, allocations: 25.7 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2612, allocations: 55.89 kB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2612, allocations: 0 / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2612, allocations: 0 / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2612, allocations: 0 / 0.9804 GB, free: 26.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002582/0.2615, allocations: 339.4 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2615, allocations: 8.031 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.2616, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.2617, allocations: 163 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2617, allocations: 4 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.2617, allocations: 4 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.2618, allocations: 33.64 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.2618, allocations: 0 / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2618, allocations: 0 / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2618, allocations: 4 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.2619, allocations: 4 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.262, allocations: 153.6 kB / 0.9811 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.235e-05/0.262, allocations: 14.58 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/0.2624, allocations: 433.5 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2625, allocations: 34.56 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2625, allocations: 0 / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.2626, allocations: 33.64 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.2627, allocations: 55.39 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.648e-05/0.2627, allocations: 89.86 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2627, allocations: 29.7 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.2627, allocations: 88.2 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2628, allocations: 3.906 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.2628, allocations: 4 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.2629, allocations: 310.8 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.2629, allocations: 0 / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.2629, allocations: 0 / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.2629, allocations: 4 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2629, allocations: 0 / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.491e-05/0.263, allocations: 37.59 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.263, allocations: 12.08 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.263, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.263, allocations: 4 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.2631, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2631, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.2631, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2631, allocations: 0 / 0.9822 GB, free: 24.53 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 (1): * Single equations (assignments): 1 * 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 6.043e-05/0.2632, allocations: 113.8 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.2632, allocations: 7.938 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-05/0.2633, allocations: 44.75 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2633, allocations: 0 / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2634, allocations: 0 / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2634, allocations: 4 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.449e-05/0.2634, allocations: 145.7 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2635, allocations: 0 / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.2635, allocations: 0 / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2635, allocations: 0 / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2635, allocations: 11.94 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2635, allocations: 4.031 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2635, allocations: 3.984 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.982e-05/0.2636, allocations: 53.08 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.2636, allocations: 81.39 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2636, allocations: 0 / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.2636, allocations: 7.938 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.2637, allocations: 4 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2637, allocations: 0 / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.658e-05/0.2637, allocations: 83.25 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2637, allocations: 0 / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002204/0.2639, allocations: 12 kB / 0.9828 GB, free: 23.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.2641, allocations: 103.2 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.241e-05/0.2642, allocations: 7.984 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2642, allocations: 0 / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.2642, allocations: 4 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.544e-05/0.2643, allocations: 14.55 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.2645, allocations: 74.77 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.2646, allocations: 0.677 MB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.2647, allocations: 4 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.2647, allocations: 7.438 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2647, allocations: 0 / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.002197/0.2669, allocations: 448.6 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)