Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001236/0.001236, allocations: 182.3 kB / 371.6 MB, free: 3.387 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.799/1.799, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008738/0.0008738, allocations: 92.69 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.332e-05, allocations: 8 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8268/1.07, allocations: 139.5 MB / 1.116 GB, free: 44.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.071, allocations: 76.16 kB / 1.116 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01164/1.082, allocations: 4.319 MB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.126e-06/1.083, allocations: 0 / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.083, allocations: 3.938 kB / 1.12 GB, free: 41.84 MB / 0.7448 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.0004272/1.083, allocations: 363.9 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.083, allocations: 12.03 kB / 1.121 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/1.083, allocations: 4.75 kB / 1.121 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.083, allocations: 167.1 kB / 1.121 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.083, allocations: 0 / 1.121 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/1.083, allocations: 3.266 kB / 1.121 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/1.083, allocations: 36.47 kB / 1.121 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.083, allocations: 5.406 kB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.083, allocations: 3.938 kB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.083, allocations: 0 / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/1.084, allocations: 14.06 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/1.084, allocations: 274 kB / 1.121 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/1.084, allocations: 25.2 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/1.084, allocations: 13.67 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/1.085, allocations: 457.8 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/1.085, allocations: 38.5 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/1.085, allocations: 0 / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/1.085, allocations: 45.02 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/1.085, allocations: 54.78 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/1.085, allocations: 97.19 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.085, allocations: 25.7 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/1.085, allocations: 84.77 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/1.085, allocations: 3.906 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/1.085, allocations: 3.688 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/1.085, allocations: 318.2 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/1.085, allocations: 8.031 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/1.085, allocations: 6.5 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/1.085, allocations: 7.812 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.085, allocations: 0 / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.655e-05/1.085, allocations: 51.97 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.085, allocations: 7.938 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.085, allocations: 0.875 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.085, allocations: 4.734 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/1.085, allocations: 15.42 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.085, allocations: 0 / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/1.086, allocations: 8 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/1.086, allocations: 0 / 1.122 GB, free: 39.55 MB / 0.7448 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 () * 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 7.254e-05/1.086, allocations: 116.6 kB / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/1.086, allocations: 0 / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/1.086, allocations: 54.91 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.086, allocations: 5.625 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.086, allocations: 0 / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.086, allocations: 0 / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/1.086, allocations: 167.8 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.086, allocations: 0 / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/1.086, allocations: 15.69 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.086, allocations: 0 / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.086, allocations: 0 / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.086, allocations: 1.312 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.086, allocations: 0.5625 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/1.086, allocations: 145 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/1.086, allocations: 88.95 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/1.086, allocations: 3.125 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/1.087, allocations: 7.562 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/1.087, allocations: 4 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/1.087, allocations: 1.406 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.028e-05/1.087, allocations: 91.39 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.087, allocations: 0 / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002587/1.087, allocations: 16 kB / 1.123 GB, free: 38.81 MB / 0.7448 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 () * 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.0001995/1.087, allocations: 111.2 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.71e-05/1.087, allocations: 21.89 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.087, allocations: 0 / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/1.087, allocations: 4 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/1.087, allocations: 11 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/1.088, allocations: 66.17 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/1.088, allocations: 0.6803 MB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.956e-05/1.088, allocations: 0 / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/1.088, allocations: 11.44 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.088, allocations: 0.6562 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.002973/1.091, allocations: 0.6059 MB / 1.125 GB, free: 37.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)