Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.843/2.843, allocations: 284.8 MB / 297.3 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002178, allocations: 180.9 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 103.6 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.388e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8374, allocations: 115.2 MB / 0.97 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/1.082, allocations: 138.4 MB / 1.105 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.083, allocations: 75.95 kB / 1.105 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02211/1.105, allocations: 4.318 MB / 1.109 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/1.105, allocations: 0 / 1.109 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.327e-06/1.105, allocations: 0.875 kB / 1.109 GB, free: 9.789 MB / 0.7136 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.0005551/1.105, allocations: 372.7 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.105, allocations: 8.031 kB / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/1.106, allocations: 9.109 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/1.106, allocations: 167 kB / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.106, allocations: 4.719 kB / 1.11 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/1.106, allocations: 0 / 1.11 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.106, allocations: 38.44 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/1.106, allocations: 0 / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/1.106, allocations: 0.9688 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.106, allocations: 4 kB / 1.11 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.251e-05/1.106, allocations: 8.531 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/1.107, allocations: 279 kB / 1.11 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.143e-05/1.107, allocations: 20.52 kB / 1.11 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/1.107, allocations: 12.92 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009508/1.108, allocations: 460.5 kB / 1.111 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.108, allocations: 37.72 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/1.108, allocations: 0 / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002276/1.108, allocations: 41.7 kB / 1.111 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.108, allocations: 55.34 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/1.108, allocations: 101.6 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/1.108, allocations: 25.7 kB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/1.108, allocations: 84.17 kB / 1.111 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/1.108, allocations: 3.906 kB / 1.111 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.108, allocations: 0 / 1.111 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.108, allocations: 322.8 kB / 1.111 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/1.108, allocations: 4 kB / 1.111 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/1.108, allocations: 7.984 kB / 1.111 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/1.109, allocations: 6.438 kB / 1.111 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.109, allocations: 0 / 1.111 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001286/1.109, allocations: 49.67 kB / 1.111 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.109, allocations: 9.406 kB / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.109, allocations: 6.062 kB / 1.111 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.109, allocations: 0 / 1.111 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/1.109, allocations: 15.92 kB / 1.111 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.109, allocations: 0 / 1.111 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/1.109, allocations: 15.98 kB / 1.111 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.109, allocations: 0 / 1.111 GB, free: 7.383 MB / 0.7136 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.767e-05/1.109, allocations: 109 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/1.109, allocations: 4 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/1.109, allocations: 45.34 kB / 1.112 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.109, allocations: 3.984 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.109, allocations: 0 / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.109, allocations: 4 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/1.11, allocations: 169.5 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.11, allocations: 0 / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.11, allocations: 12.03 kB / 1.112 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.11, allocations: 0 / 1.112 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.11, allocations: 3.984 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.11, allocations: 7.938 kB / 1.112 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.11, allocations: 3.875 kB / 1.112 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/1.11, allocations: 139.4 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/1.11, allocations: 77.11 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/1.11, allocations: 8.016 kB / 1.112 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.11, allocations: 13.88 kB / 1.112 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/1.11, allocations: 3.984 kB / 1.112 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/1.11, allocations: 0 / 1.112 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.22e-05/1.11, allocations: 83.28 kB / 1.112 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.11, allocations: 0 / 1.112 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003133/1.111, allocations: 16 kB / 1.112 GB, free: 6.594 MB / 0.7136 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.0002074/1.111, allocations: 119.2 kB / 1.112 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001191/1.111, allocations: 19.92 kB / 1.112 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.111, allocations: 0 / 1.112 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/1.111, allocations: 8 kB / 1.112 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/1.111, allocations: 10.7 kB / 1.112 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/1.112, allocations: 67.33 kB / 1.112 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/1.112, allocations: 0.677 MB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.572e-05/1.112, allocations: 8.125 kB / 1.113 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/1.112, allocations: 7.438 kB / 1.113 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.112, allocations: 0 / 1.113 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.003726/1.116, allocations: 0.608 MB / 1.114 GB, free: 5.055 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)