Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.933/2.933, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001512/0.001512, allocations: 191.4 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.27/2.27, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001186/0.001185, allocations: 91.91 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004959, allocations: 14.42 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007387/0.2393, allocations: 317.8 kB / 0.9785 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.24, allocations: 293 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.074e-05/0.24, allocations: 0 / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.2401, allocations: 7.938 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.2401, allocations: 0 / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.2405, allocations: 64.91 kB / 0.9789 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.2405, allocations: 0 / 0.9789 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.2406, allocations: 8 kB / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.2406, allocations: 0 / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.855e-05/0.2407, allocations: 3.984 kB / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2407, allocations: 0 / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.2412, allocations: 259.6 kB / 0.9791 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.2412, allocations: 4 kB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.2412, allocations: 25.7 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2414, allocations: 51.91 kB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2414, allocations: 0 / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2414, allocations: 0 / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2414, allocations: 0 / 0.9792 GB, free: 27.37 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.0002709/0.2417, allocations: 339.4 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2417, allocations: 8.031 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.2418, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.152e-05/0.2419, allocations: 167 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2419, allocations: 4 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.2419, allocations: 7.984 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.242, allocations: 29.7 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.2421, allocations: 0 / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2421, allocations: 0 / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2421, allocations: 0 / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.2421, allocations: 4 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.2422, allocations: 149.6 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.2423, allocations: 26.55 kB / 0.9799 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.2429, allocations: 421.5 kB / 0.9803 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2429, allocations: 38.56 kB / 0.9803 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.2429, allocations: 0 / 0.9803 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.2431, allocations: 33.7 kB / 0.9804 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2431, allocations: 51.41 kB / 0.9804 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.144e-05/0.2432, allocations: 97.73 kB / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.2432, allocations: 25.7 kB / 0.9805 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.525e-05/0.2432, allocations: 80.14 kB / 0.9806 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2432, allocations: 3.906 kB / 0.9806 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2433, allocations: 4 kB / 0.9806 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.2433, allocations: 314.8 kB / 0.9809 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.2433, allocations: 4.125 kB / 0.9809 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.2434, allocations: 3.984 kB / 0.9809 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.933e-05/0.2434, allocations: 4 kB / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2434, allocations: 3.938 kB / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.419e-05/0.2435, allocations: 33.66 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2435, allocations: 4 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2435, allocations: 0 / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2435, allocations: 4 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.955e-05/0.2436, allocations: 4 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2436, allocations: 4.094 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.2436, allocations: 0 / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2437, allocations: 0 / 0.981 GB, free: 25.23 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.617e-05/0.2437, allocations: 119.7 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2438, allocations: 3.953 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2439, allocations: 36.83 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2439, allocations: 0 / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2439, allocations: 0 / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2439, allocations: 8.031 kB / 0.9811 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.304e-05/0.244, allocations: 145.7 kB / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.244, allocations: 0 / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.244, allocations: 0 / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.2441, allocations: 7.953 kB / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2441, allocations: 0 / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2441, allocations: 0 / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2441, allocations: 0 / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.2442, allocations: 65.06 kB / 0.9813 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.2442, allocations: 81.39 kB / 0.9814 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2442, allocations: 3.953 kB / 0.9814 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.2443, allocations: 0 / 0.9814 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.2443, allocations: 0 / 0.9814 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2443, allocations: 3.938 kB / 0.9814 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.577e-05/0.2443, allocations: 75.28 kB / 0.9815 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2443, allocations: 0 / 0.9815 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002516/0.2446, allocations: 12 kB / 0.9815 GB, free: 24.59 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.0001771/0.2448, allocations: 111.3 kB / 0.9816 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.2449, allocations: 8 kB / 0.9816 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2449, allocations: 0 / 0.9816 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.2449, allocations: 3.938 kB / 0.9816 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.245, allocations: 9.812 kB / 0.9816 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.2452, allocations: 74.75 kB / 0.9817 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2453, allocations: 0.6733 MB / 0.9824 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.2454, allocations: 11.98 kB / 0.9824 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2454, allocations: 11.38 kB / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.2454, allocations: 0 / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.002838/0.2483, allocations: 428.7 kB / 0.9828 GB, free: 23.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)