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.695/1.695, allocations: 288.4 MB / 303.4 MB, free: 8.051 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.001292/0.001292, allocations: 185.4 kB / 372 MB, free: 10.26 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.863/1.863, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008429/0.0008429, allocations: 90.36 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004794, allocations: 17.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008624/0.2538, allocations: 319.7 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.2545, allocations: 299.3 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.2546, allocations: 0 / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.2546, allocations: 0 / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-06/0.2546, allocations: 0 / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.2551, allocations: 71.78 kB / 0.9803 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.2552, allocations: 0 / 0.9803 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.2552, allocations: 4 kB / 0.9803 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.2553, allocations: 0 / 0.9803 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.2553, allocations: 4 kB / 0.9803 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2553, allocations: 0 / 0.9803 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.2557, allocations: 263.7 kB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.2557, allocations: 3.984 kB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.2557, allocations: 25.7 kB / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.2559, allocations: 59.89 kB / 0.9806 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2559, allocations: 0 / 0.9806 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2559, allocations: 3.938 kB / 0.9806 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2559, allocations: 0 / 0.9806 GB, free: 26.61 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.0002621/0.2562, allocations: 331.4 kB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2562, allocations: 8.031 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.2563, allocations: 3.984 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.713e-05/0.2564, allocations: 167 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2564, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.2564, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2565, allocations: 29.64 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2565, allocations: 0 / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2565, allocations: 4 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2566, allocations: 4 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.2566, allocations: 0 / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.2567, allocations: 153.6 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.379e-05/0.2567, allocations: 18.61 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.2568, allocations: 4.859 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004505/0.2572, allocations: 433.5 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.2572, allocations: 34.5 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.2573, allocations: 0 / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.2574, allocations: 33.7 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.2574, allocations: 55.41 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.148e-05/0.2575, allocations: 93.84 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.2575, allocations: 29.83 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.199e-05/0.2575, allocations: 80.14 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.2575, allocations: 3.906 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.2576, allocations: 0 / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.2576, allocations: 314.8 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.2576, allocations: 0 / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.2577, allocations: 4 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.2577, allocations: 3.938 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2577, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.914e-05/0.2578, allocations: 49.66 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2578, allocations: 4 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2578, allocations: 3.984 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2578, allocations: 4 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.2579, allocations: 4 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2579, allocations: 0 / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.2579, allocations: 0 / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2579, allocations: 0 / 0.9824 GB, free: 24.47 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 5.223e-05/0.258, allocations: 109.9 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.258, allocations: 7.953 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/0.2581, allocations: 40.75 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2581, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2581, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2581, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.591e-05/0.2582, allocations: 145.7 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2582, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.2582, allocations: 4 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2582, allocations: 3.953 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2582, allocations: 8.016 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2582, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2582, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.801e-05/0.2583, allocations: 61.08 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.2583, allocations: 77.39 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2584, allocations: 3.953 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.2584, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.2584, allocations: 12.02 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.2584, allocations: 0 / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.592e-05/0.2584, allocations: 75.28 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2584, allocations: 0 / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001913/0.2586, allocations: 8 kB / 0.9829 GB, free: 23.82 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.0001781/0.2588, allocations: 107.2 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.534e-05/0.2589, allocations: 4 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2589, allocations: 64 / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/0.2589, allocations: 7.984 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.259, allocations: 8.969 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.2592, allocations: 82.64 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2593, allocations: 0.6731 MB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.2593, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.2594, allocations: 11.44 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2594, allocations: 0 / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.002261/0.2616, allocations: 444.5 kB / 0.9842 GB, free: 22.44 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)