Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.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.625/1.625, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001136/0.001136, allocations: 169.1 kB / 371.8 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.56/1.56, allocations: 205.4 MB / 0.6306 GB, free: 9.91 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.000945/0.0009451, allocations: 97.53 kB / 0.7439 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005576/0.0005577, allocations: 12.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2834, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8059/1.089, allocations: 138.6 MB / 1.115 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.09, allocations: 73.64 kB / 1.115 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01157/1.101, allocations: 4.314 MB / 1.119 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.101, allocations: 0 / 1.119 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.101, allocations: 0 / 1.119 GB, free: 31.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004963/1.102, allocations: 379.5 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.102, allocations: 11.42 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/1.102, allocations: 7.688 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.102, allocations: 163 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/1.102, allocations: 3.875 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.102, allocations: 0 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/1.102, allocations: 56.61 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.102, allocations: 3.938 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.102, allocations: 3.062 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/1.102, allocations: 3.75 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/1.103, allocations: 50.16 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/1.103, allocations: 271.5 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.103, allocations: 42.81 kB / 1.12 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/1.104, allocations: 456.8 kB / 1.12 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.104, allocations: 44.92 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/1.104, allocations: 0 / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003957/1.104, allocations: 102.3 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/1.104, allocations: 51.41 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/1.104, allocations: 96.25 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.104, allocations: 25.7 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/1.104, allocations: 86.36 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/1.104, allocations: 7.844 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.104, allocations: 3.875 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.105, allocations: 318 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/1.105, allocations: 24.5 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/1.105, allocations: 20.55 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.766e-05/1.105, allocations: 32.67 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.105, allocations: 0 / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/1.105, allocations: 72.75 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.105, allocations: 7.781 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.105, allocations: 7.031 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.105, allocations: 4.031 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/1.105, allocations: 17.5 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.105, allocations: 0 / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/1.105, allocations: 3.875 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.105, allocations: 6.781 kB / 1.121 GB, free: 29.67 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 (2): * Single equations (assignments): 2 * 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 8.082e-05/1.105, allocations: 113.7 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/1.105, allocations: 7.969 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/1.106, allocations: 95.09 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.106, allocations: 0 / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.106, allocations: 0 / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.106, allocations: 0 / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/1.106, allocations: 168.3 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.106, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/1.106, allocations: 10.97 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.106, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/1.106, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.106, allocations: 3.844 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.106, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/1.106, allocations: 174.5 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/1.106, allocations: 84.3 kB / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/1.106, allocations: 0 / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/1.106, allocations: 11.62 kB / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/1.106, allocations: 7.266 kB / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/1.106, allocations: 256 / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.086e-05/1.106, allocations: 90.19 kB / 1.122 GB, free: 28.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/1.106, allocations: 0 / 1.122 GB, free: 28.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002105/1.107, allocations: 15.56 kB / 1.122 GB, free: 28.98 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 (2): * Single equations (assignments): 2 * 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.0001935/1.107, allocations: 110.1 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002005/1.107, allocations: 54.53 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.107, allocations: 0 / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/1.107, allocations: 25.48 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.107, allocations: 0 / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/1.108, allocations: 120.4 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/1.108, allocations: 0.6786 MB / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.605e-05/1.108, allocations: 3.906 kB / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/1.108, allocations: 7.438 kB / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.108, allocations: 0 / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of Templates: time 0.002575/1.11, allocations: 0.608 MB / 1.124 GB, free: 28.01 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)