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.596/1.596, allocations: 288.4 MB / 304.3 MB, free: 8.203 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.0009709/0.0009711, allocations: 179.3 kB / 372.9 MB, free: 10.14 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.48/1.48, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0007016/0.0007014, allocations: 106.3 kB / 0.7451 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 12.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.188, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5918/0.7799, allocations: 138.6 MB / 1.116 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.7802, allocations: 74.95 kB / 1.116 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.7915, allocations: 4.341 MB / 1.12 GB, free: 32.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7916, allocations: 0 / 1.12 GB, free: 32.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7916, allocations: 4 kB / 1.12 GB, free: 32.09 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.0003677/0.792, allocations: 373.8 kB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.792, allocations: 11.69 kB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.7921, allocations: 4.875 kB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.7922, allocations: 171.2 kB / 1.121 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.7922, allocations: 384 / 1.121 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.7922, allocations: 4.312 kB / 1.121 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.7924, allocations: 59.22 kB / 1.121 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.7924, allocations: 192 / 1.121 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.7924, allocations: 10.83 kB / 1.121 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.7924, allocations: 0 / 1.121 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.7926, allocations: 44.09 kB / 1.121 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.793, allocations: 277.9 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7931, allocations: 52.53 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.7932, allocations: 23.31 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.7937, allocations: 463.5 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.7937, allocations: 30.56 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7937, allocations: 0 / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.7941, allocations: 102.8 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.7941, allocations: 51.41 kB / 1.122 GB, free: 30.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.7942, allocations: 104.2 kB / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.7942, allocations: 25.7 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.7943, allocations: 95.39 kB / 1.122 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.7943, allocations: 7.844 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.7943, allocations: 3.938 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.7944, allocations: 310.8 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.7945, allocations: 25.39 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.7946, allocations: 25.53 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.7947, allocations: 48.67 kB / 1.123 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7947, allocations: 0 / 1.123 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.7949, allocations: 85.77 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7949, allocations: 5 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7949, allocations: 256 / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7949, allocations: 3.875 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.795, allocations: 15.11 kB / 1.123 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.795, allocations: 4.031 kB / 1.123 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.7951, allocations: 10.92 kB / 1.123 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.7951, allocations: 3.938 kB / 1.123 GB, free: 29.94 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 6.034e-05/0.7952, allocations: 117.4 kB / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.7952, allocations: 7.719 kB / 1.123 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.7954, allocations: 84.19 kB / 1.123 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7954, allocations: 3.938 kB / 1.123 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7954, allocations: 6.5 kB / 1.123 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7954, allocations: 0 / 1.123 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.7956, allocations: 159.5 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7956, allocations: 0 / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.7956, allocations: 15.02 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7956, allocations: 0 / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.7957, allocations: 3.844 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7957, allocations: 0 / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7957, allocations: 0 / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.7959, allocations: 178 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.7959, allocations: 77.11 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.7959, allocations: 0 / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.796, allocations: 10.39 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.7961, allocations: 3.281 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.7961, allocations: 3.938 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.7961, allocations: 87.03 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7961, allocations: 3.938 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002085/0.7963, allocations: 15.56 kB / 1.123 GB, free: 29.26 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.0001327/0.7965, allocations: 109.4 kB / 1.124 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.7967, allocations: 55.75 kB / 1.124 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7967, allocations: 0 / 1.124 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.7968, allocations: 21.47 kB / 1.124 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.797, allocations: 11.81 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.7973, allocations: 122.8 kB / 1.124 GB, free: 29.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.7975, allocations: 0.6826 MB / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.7975, allocations: 3.875 kB / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.7975, allocations: 7.438 kB / 1.124 GB, free: 28.33 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.7975, allocations: 0 / 1.124 GB, free: 28.33 MB / 0.698 GB Notification: Performance of Templates: time 0.002024/0.7996, allocations: 0.6171 MB / 1.125 GB, free: 28.27 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)