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.573/1.573, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.001076/0.001076, allocations: 178.4 kB / 372.9 MB, free: 10.15 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.338/1.338, allocations: 205.4 MB / 0.6317 GB, free: 9.895 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.0007439/0.000744, allocations: 98.72 kB / 0.7451 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 13.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6287/0.8298, allocations: 137.9 MB / 1.115 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.8301, allocations: 79.78 kB / 1.116 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.8404, allocations: 4.03 MB / 1.119 GB, free: 32.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8404, allocations: 0 / 1.119 GB, free: 32.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.8404, allocations: 0 / 1.119 GB, free: 32.1 MB / 0.698 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.0002559/0.8407, allocations: 337.4 kB / 1.12 GB, free: 31.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8407, allocations: 18.39 kB / 1.12 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.8408, allocations: 0.9375 kB / 1.12 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.997e-05/0.8409, allocations: 164.4 kB / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.8409, allocations: 384 / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.8409, allocations: 384 / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.841, allocations: 30.14 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.841, allocations: 4.172 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.841, allocations: 3.938 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.841, allocations: 3.938 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.8411, allocations: 6.875 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.8412, allocations: 149.2 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.8412, allocations: 14.58 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.8413, allocations: 8.734 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.8417, allocations: 423.8 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8417, allocations: 37.42 kB / 1.121 GB, free: 30.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.8417, allocations: 0 / 1.121 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.8419, allocations: 40.61 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.8419, allocations: 55.28 kB / 1.121 GB, free: 30.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.127e-05/0.8419, allocations: 89.86 kB / 1.121 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.8419, allocations: 25.7 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.842, allocations: 80.14 kB / 1.121 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.842, allocations: 0 / 1.121 GB, free: 30.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.842, allocations: 0 / 1.121 GB, free: 30.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.8421, allocations: 321.9 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.8421, allocations: 0 / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.8421, allocations: 3.875 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.8422, allocations: 15.17 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8422, allocations: 0 / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.523e-05/0.8422, allocations: 30.2 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.8423, allocations: 6.828 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.8423, allocations: 0 / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8423, allocations: 12 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-05/0.8423, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8423, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-06/0.8424, allocations: 3.938 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.8424, allocations: 4 kB / 1.121 GB, free: 30.06 MB / 0.698 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.794e-05/0.8424, allocations: 113.2 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.8424, allocations: 0 / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.8425, allocations: 47.41 kB / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.8425, allocations: 0 / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8426, allocations: 3.875 kB / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.8426, allocations: 0 / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.301e-05/0.8426, allocations: 152 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8426, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.8426, allocations: 3.812 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.8427, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.8427, allocations: 3.938 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8427, allocations: 3.141 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8427, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.029e-05/0.8427, allocations: 56.98 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.8428, allocations: 77.11 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.8428, allocations: 13.62 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.8428, allocations: 0 / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.8428, allocations: 0 / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.8428, allocations: 0 / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.8429, allocations: 79.16 kB / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.8429, allocations: 4.031 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001802/0.843, allocations: 15.62 kB / 1.122 GB, free: 29.46 MB / 0.698 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.0001649/0.8432, allocations: 115.7 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.448e-05/0.8433, allocations: 3.844 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8433, allocations: 0 / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.8433, allocations: 3.969 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.8434, allocations: 3.25 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.8436, allocations: 81.81 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.8438, allocations: 0.6807 MB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.8438, allocations: 0 / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.8438, allocations: 7.438 kB / 1.123 GB, free: 28.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8438, allocations: 0 / 1.123 GB, free: 28.55 MB / 0.698 GB Notification: Performance of Templates: time 0.002147/0.846, allocations: 433.9 kB / 1.123 GB, free: 28.5 MB / 0.698 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)