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.475/2.475, allocations: 287.5 MB / 303.2 MB, free: 8.215 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.001284/0.001284, allocations: 181.9 kB / 371.8 MB, free: 10.85 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.073/2.073, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0008719/0.0008716, allocations: 100.8 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 13.38 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2037, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9314/1.135, allocations: 137.7 MB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.135, allocations: 80 kB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01838/1.154, allocations: 4.038 MB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.154, allocations: 0 / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.154, allocations: 0 / 1.118 GB, free: 31.36 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.0003542/1.154, allocations: 339.8 kB / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.154, allocations: 7.719 kB / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/1.154, allocations: 0.9375 kB / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/1.155, allocations: 160.4 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/1.155, allocations: 15.09 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/1.155, allocations: 4.312 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/1.155, allocations: 33.39 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.155, allocations: 192 / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/1.155, allocations: 3.938 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.155, allocations: 0 / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/1.155, allocations: 3.844 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/1.155, allocations: 144.2 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/1.155, allocations: 25.86 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/1.155, allocations: 4.859 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/1.156, allocations: 423.4 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/1.156, allocations: 34.5 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.156, allocations: 0 / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001716/1.156, allocations: 44.22 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.156, allocations: 51.41 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/1.156, allocations: 89.86 kB / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.156, allocations: 25.7 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/1.156, allocations: 83.02 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/1.156, allocations: 0 / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/1.156, allocations: 0 / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.156, allocations: 313.4 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/1.156, allocations: 8 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/1.156, allocations: 0 / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/1.156, allocations: 15.55 kB / 1.12 GB, free: 29.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.156, allocations: 3.938 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.048e-05/1.156, allocations: 30.17 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.156, allocations: 9.562 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.156, allocations: 0 / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.156, allocations: 3.938 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/1.157, allocations: 4.094 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.157, allocations: 0 / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.24e-05/1.157, allocations: 0 / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/1.157, allocations: 3.906 kB / 1.12 GB, free: 29.32 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 7.958e-05/1.157, allocations: 108.5 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/1.157, allocations: 0 / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/1.157, allocations: 53.44 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.157, allocations: 0 / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.157, allocations: 4.031 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.157, allocations: 0 / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/1.157, allocations: 151.2 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.157, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/1.157, allocations: 3.656 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/1.157, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/1.157, allocations: 3.938 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.157, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.157, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/1.157, allocations: 66.55 kB / 1.12 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/1.157, allocations: 77.11 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/1.157, allocations: 4.734 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/1.157, allocations: 0 / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/1.157, allocations: 5.891 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.157, allocations: 4 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.405e-05/1.157, allocations: 75.28 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.157, allocations: 0 / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002606/1.158, allocations: 15.62 kB / 1.12 GB, free: 28.71 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.0002035/1.158, allocations: 116.9 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/1.158, allocations: 3.812 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.158, allocations: 0 / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/1.158, allocations: 7.844 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/1.158, allocations: 3.625 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/1.158, allocations: 77.92 kB / 1.12 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/1.159, allocations: 0.6771 MB / 1.121 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.488e-05/1.159, allocations: 0.625 kB / 1.121 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/1.159, allocations: 9.547 kB / 1.121 GB, free: 27.81 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.159, allocations: 0 / 1.121 GB, free: 27.81 MB / 0.698 GB Notification: Performance of Templates: time 0.002699/1.161, allocations: 435.9 kB / 1.121 GB, free: 27.76 MB / 0.698 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)