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.0008979/0.0008979, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002061, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008033/0.0008033, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.001972, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.067/1.067, allocations: 177.2 MB / 189.8 MB, free: 5.273 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.192, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.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.872/1.872, allocations: 390 MB / 0.6193 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4988/2.371, allocations: 127.1 MB / 0.7435 GB, free: 4.559 MB / 0.7136 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.673e-06/1.673e-06, allocations: 0 / 0.7449 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.825e-05, allocations: 5.219 kB / 0.7449 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002045/0.002073, allocations: 0.6486 MB / 0.7455 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.00261, allocations: 305.8 kB / 0.7458 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.002623, allocations: 1.094 kB / 0.7458 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.15e-06/0.002629, allocations: 0 / 0.7458 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.503e-06/0.00263, allocations: 0 / 0.7458 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.002942, allocations: 89.72 kB / 0.7459 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.002997, allocations: 0.7656 kB / 0.7459 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.00304, allocations: 5.094 kB / 0.7459 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.003082, allocations: 2.719 kB / 0.7459 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.003118, allocations: 0 / 0.7459 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.003131, allocations: 0.9844 kB / 0.7459 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.003601, allocations: 279.6 kB / 0.7462 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.003616, allocations: 0 / 0.7462 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.00363, allocations: 1.203 kB / 0.7462 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.003841, allocations: 91.7 kB / 0.7462 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.626e-05/0.003857, allocations: 7.422 kB / 0.7463 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003858, allocations: 0 / 0.7463 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.003875, allocations: 0 / 0.7463 GB, free: 1.801 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003655/0.004241, allocations: 240.5 kB / 0.7465 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.00428, allocations: 12.02 kB / 0.7465 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.004391, allocations: 82.05 kB / 0.7466 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.004474, allocations: 104 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004486, allocations: 384 / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.004496, allocations: 384 / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.643e-05/0.004583, allocations: 31.58 kB / 0.7467 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004591, allocations: 192 / 0.7467 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.004598, allocations: 384 / 0.7467 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004603, allocations: 384 / 0.7467 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.004618, allocations: 10.81 kB / 0.7467 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.722e-05/0.004705, allocations: 61.03 kB / 0.7468 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.004746, allocations: 14.58 kB / 0.7468 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.004758, allocations: 9.5 kB / 0.7468 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.005076, allocations: 44.58 kB / 0.7468 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.005107, allocations: 39.25 kB / 0.7469 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.315e-06/0.005109, allocations: 1.875 kB / 0.7469 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.005242, allocations: 33.64 kB / 0.7469 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.005274, allocations: 52 kB / 0.747 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.22e-05/0.005307, allocations: 99.34 kB / 0.7471 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.005317, allocations: 25.7 kB / 0.7471 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.005349, allocations: 80.14 kB / 0.7472 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.00538, allocations: 0 / 0.7472 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.005406, allocations: 14.84 kB / 0.7472 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.005498, allocations: 314.8 kB / 0.7475 GB, free: 416 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.005506, allocations: 0 / 0.7475 GB, free: 416 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.005512, allocations: 2 kB / 0.7475 GB, free: 416 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.005539, allocations: 8.859 kB / 0.7475 GB, free: 404 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005541, allocations: 0.6562 kB / 0.7475 GB, free: 404 kB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.834e-05/0.00561, allocations: 38.38 kB / 0.7475 GB, free: 360 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.005625, allocations: 8.625 kB / 0.7475 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.00563, allocations: 1.469 kB / 0.7475 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.005643, allocations: 0 / 0.7475 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.005689, allocations: 0 / 0.7475 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.005692, allocations: 0 / 0.7475 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.005704, allocations: 5.438 kB / 0.7475 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005709, allocations: 0.6562 kB / 0.7475 GB, free: 348 kB / 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 () * 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 8.067e-05/0.00579, allocations: 113.8 kB / 0.7476 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.005811, allocations: 8.609 kB / 0.7476 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.005903, allocations: 41.12 kB / 0.7477 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.005907, allocations: 5.703 kB / 0.7477 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.00591, allocations: 4 kB / 0.7477 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005913, allocations: 0.6562 kB / 0.7477 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.986e-05/0.005973, allocations: 61.84 kB / 0.7478 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005974, allocations: 0.8125 kB / 0.7478 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.00599, allocations: 4 kB / 0.7478 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.005995, allocations: 7.984 kB / 0.7478 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.005998, allocations: 0.75 kB / 0.7478 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.006002, allocations: 3.344 kB / 0.7478 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006003, allocations: 0 / 0.7478 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.006004, allocations: 0 / 0.7478 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.941e-05/0.006093, allocations: 57.08 kB / 0.7478 GB, free: 16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.006102, allocations: 3.984 kB / 0.7478 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.006108, allocations: 0 / 0.7478 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.006122, allocations: 8.812 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.006125, allocations: 2.75 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.049e-05/0.006136, allocations: 4.859 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006136, allocations: 0 / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001578/0.006294, allocations: 11.94 kB / 0.7479 GB, free: 15.96 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.0001865/0.00648, allocations: 100.3 kB / 0.748 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.886e-05/0.006549, allocations: 12.16 kB / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.006553, allocations: 0 / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.006566, allocations: 10.39 kB / 0.748 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.538e-05/0.006632, allocations: 5.828 kB / 0.748 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.006822, allocations: 86.39 kB / 0.7481 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.006855, allocations: 52.7 kB / 0.7481 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.00688, allocations: 7.984 kB / 0.7481 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.006912, allocations: 48.25 kB / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.006913, allocations: 0 / 0.7482 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.002806/0.009719, allocations: 491.8 kB / 0.7486 GB, free: 15.14 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.878726910799742]