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.717/2.717, allocations: 287.5 MB / 302.5 MB, free: 8.258 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.001564/0.001564, allocations: 173.2 kB / 371 MB, free: 10.79 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.08/2.08, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 91.73 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004737, allocations: 12 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2711, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.286, allocations: 138.4 MB / 1.114 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.286, allocations: 80.19 kB / 1.114 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02048/1.306, allocations: 4.32 MB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.075e-06/1.306, allocations: 2.812 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.536e-05/1.306, allocations: 0 / 1.118 GB, free: 31.4 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.0006324/1.307, allocations: 371.2 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.307, allocations: 19.64 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/1.307, allocations: 0 / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.307, allocations: 173.7 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/1.307, allocations: 3.438 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/1.307, allocations: 0 / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/1.308, allocations: 54.92 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.308, allocations: 0 / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.308, allocations: 7.906 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.308, allocations: 0 / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/1.308, allocations: 42.73 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/1.309, allocations: 274.7 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/1.309, allocations: 38.3 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/1.31, allocations: 458.9 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.31, allocations: 38.06 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/1.31, allocations: 3.938 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005644/1.31, allocations: 101.2 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/1.31, allocations: 51.41 kB / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/1.31, allocations: 94.92 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.31, allocations: 33.73 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/1.31, allocations: 83.45 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/1.31, allocations: 9.438 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/1.31, allocations: 0 / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.311, allocations: 323.5 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/1.311, allocations: 15.77 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/1.311, allocations: 31.84 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/1.311, allocations: 23.02 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.311, allocations: 0 / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003398/1.311, allocations: 77.91 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.311, allocations: 7.625 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/1.311, allocations: 0 / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.312, allocations: 0 / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/1.312, allocations: 10.61 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.312, allocations: 0 / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/1.312, allocations: 14.11 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/1.312, allocations: 1.547 kB / 1.12 GB, free: 29.29 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.949e-05/1.312, allocations: 117 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/1.312, allocations: 7.875 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/1.312, allocations: 96.66 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.312, allocations: 0 / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.312, allocations: 4 kB / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.312, allocations: 0 / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/1.313, allocations: 158.7 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.313, allocations: 1.547 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/1.313, allocations: 14.27 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.313, allocations: 0 / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.313, allocations: 4.031 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.313, allocations: 0 / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.313, allocations: 0 / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/1.313, allocations: 181.9 kB / 1.121 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/1.313, allocations: 81.09 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/1.313, allocations: 5.359 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.313, allocations: 8.609 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/1.313, allocations: 5.094 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/1.313, allocations: 0 / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.184e-05/1.313, allocations: 84.92 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.313, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003035/1.314, allocations: 19.53 kB / 1.121 GB, free: 28.6 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.0002029/1.314, allocations: 112.5 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003247/1.314, allocations: 52.06 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.314, allocations: 4.062 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/1.315, allocations: 26.09 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/1.315, allocations: 6.25 kB / 1.121 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/1.315, allocations: 114.3 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/1.315, allocations: 0.6828 MB / 1.122 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.544e-05/1.315, allocations: 3.812 kB / 1.122 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/1.315, allocations: 7.438 kB / 1.122 GB, free: 27.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.315, allocations: 0 / 1.122 GB, free: 27.68 MB / 0.698 GB Notification: Performance of Templates: time 0.003074/1.319, allocations: 0.5934 MB / 1.122 GB, free: 27.62 MB / 0.698 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)