Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 76.81 kB / 21.54 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 163.4 kB / 24.96 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.979/0.979, allocations: 177.1 MB / 205.4 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.903/1.903, allocations: 389.6 MB / 0.6362 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.776 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.499e-05, allocations: 8.641 kB / 0.776 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.005123/0.005148, allocations: 0.6676 MB / 0.7767 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004657/0.005614, allocations: 300.5 kB / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.00563, allocations: 0 / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.005645, allocations: 0 / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.005652, allocations: 0 / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.005971, allocations: 86.03 kB / 0.777 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.00601, allocations: 4 kB / 0.777 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.006044, allocations: 4.516 kB / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.006071, allocations: 1.391 kB / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.00609, allocations: 0 / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.0061, allocations: 1.5 kB / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.006408, allocations: 279.6 kB / 0.7773 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.006419, allocations: 1.094 kB / 0.7773 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.153e-05/0.00643, allocations: 4 kB / 0.7773 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.00658, allocations: 116.6 kB / 0.7774 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006583, allocations: 0 / 0.7774 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006585, allocations: 0 / 0.7774 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.006588, allocations: 1.469 kB / 0.7774 GB, free: 3.875 MB / 0.7292 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.0001912/0.006779, allocations: 233.1 kB / 0.7777 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.006811, allocations: 13.34 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.006871, allocations: 1.594 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.88e-05/0.00693, allocations: 106.4 kB / 0.7778 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.00694, allocations: 9.25 kB / 0.7778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-06/0.006945, allocations: 1.469 kB / 0.7778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.364e-05/0.006998, allocations: 26.27 kB / 0.7778 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.007004, allocations: 1.031 kB / 0.7778 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.00701, allocations: 4.359 kB / 0.7778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.007015, allocations: 384 / 0.7778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.138e-05/0.007026, allocations: 13.12 kB / 0.7778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.233e-05/0.007088, allocations: 53.05 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.414e-05/0.007113, allocations: 19.59 kB / 0.7779 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-06/0.007123, allocations: 9.391 kB / 0.7779 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.007328, allocations: 46.55 kB / 0.778 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.007347, allocations: 34.56 kB / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.007348, allocations: 0 / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.766e-05/0.007446, allocations: 38.38 kB / 0.778 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.007468, allocations: 53 kB / 0.7781 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.971e-05/0.007498, allocations: 94.72 kB / 0.7782 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.007506, allocations: 25.7 kB / 0.7782 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.007525, allocations: 80.14 kB / 0.7783 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.00755, allocations: 5 kB / 0.7783 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.007567, allocations: 13.72 kB / 0.7783 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.007638, allocations: 316.1 kB / 0.7786 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-06/0.007643, allocations: 0 / 0.7786 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.007647, allocations: 4 kB / 0.7786 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.007667, allocations: 7.234 kB / 0.7786 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007669, allocations: 0 / 0.7786 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.812e-05/0.007717, allocations: 41.62 kB / 0.7786 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.007726, allocations: 4.5 kB / 0.7786 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00773, allocations: 1.344 kB / 0.7786 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.007746, allocations: 0 / 0.7786 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.007778, allocations: 4 kB / 0.7786 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.007781, allocations: 0 / 0.7786 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-06/0.007789, allocations: 5.703 kB / 0.7787 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.007793, allocations: 1.125 kB / 0.7787 GB, free: 2.504 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.007837, allocations: 109.8 kB / 0.7788 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.007852, allocations: 7.984 kB / 0.7788 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.007911, allocations: 37.7 kB / 0.7788 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007913, allocations: 0.5 kB / 0.7788 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007914, allocations: 0 / 0.7788 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.007916, allocations: 0.7812 kB / 0.7788 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.589e-05/0.007962, allocations: 69.84 kB / 0.7789 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.007967, allocations: 8.547 kB / 0.7789 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.007973, allocations: 1.172 kB / 0.7789 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007974, allocations: 0 / 0.7789 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-06/0.007977, allocations: 1.781 kB / 0.7789 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.007978, allocations: 0 / 0.7789 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007978, allocations: 0 / 0.7789 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.746e-05/0.008026, allocations: 57.62 kB / 0.7789 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.00803, allocations: 11.22 kB / 0.7789 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-06/0.008036, allocations: 4 kB / 0.7789 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-06/0.008039, allocations: 0 / 0.7789 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-06/0.008049, allocations: 3.938 kB / 0.779 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.00805, allocations: 0.5469 kB / 0.779 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.532e-06/0.008057, allocations: 4.859 kB / 0.779 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008057, allocations: 0 / 0.779 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000105/0.008162, allocations: 15.94 kB / 0.779 GB, free: 2.129 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.00828, allocations: 92.31 kB / 0.7791 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.106e-05/0.008331, allocations: 8.859 kB / 0.7791 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.008333, allocations: 0 / 0.7791 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-06/0.008338, allocations: 4.859 kB / 0.7791 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.455e-05/0.008383, allocations: 11.94 kB / 0.7791 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001211/0.008504, allocations: 74.42 kB / 0.7792 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.568e-05/0.008529, allocations: 56.86 kB / 0.7792 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.397e-05/0.008543, allocations: 3.938 kB / 0.7792 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.008565, allocations: 49.16 kB / 0.7793 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/0.008566, allocations: 0 / 0.7793 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of Templates: time 0.00186/0.01043, allocations: 0.5424 MB / 0.7798 GB, free: 1.258 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.996313706040382]