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.0006723/0.0006723, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008939/0.001566, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006706/0.0006706, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008657/0.001536, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09082/1.12, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 2.011/2.011, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5083/2.519, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 GB " [Timeout remaining time 177] 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.333e-06/1.333e-06, allocations: 0 / 0.7445 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.234e-05, allocations: 6.312 kB / 0.7445 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001212/0.001234, allocations: 0.6485 MB / 0.7452 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.001598, allocations: 304.8 kB / 0.7455 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.108e-05/0.001609, allocations: 0.9062 kB / 0.7455 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-06/0.001613, allocations: 0.6562 kB / 0.7455 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-07/0.001614, allocations: 0 / 0.7455 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.001846, allocations: 91.09 kB / 0.7456 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.001894, allocations: 4 kB / 0.7456 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.00193, allocations: 0.6562 kB / 0.7456 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.001964, allocations: 5.297 kB / 0.7456 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.708e-05/0.001991, allocations: 5.5 kB / 0.7456 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.002002, allocations: 0 / 0.7456 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.002339, allocations: 275.6 kB / 0.7458 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.002349, allocations: 0.875 kB / 0.7458 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-06/0.002358, allocations: 2.75 kB / 0.7458 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.002509, allocations: 89.64 kB / 0.7459 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.208e-05/0.002531, allocations: 4 kB / 0.7459 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002532, allocations: 0 / 0.7459 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.002549, allocations: 0 / 0.7459 GB, free: 1.871 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.0002584/0.002808, allocations: 240.5 kB / 0.7462 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.00284, allocations: 8.031 kB / 0.7462 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.002918, allocations: 82.05 kB / 0.7462 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.888e-05/0.002977, allocations: 102.6 kB / 0.7463 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002987, allocations: 1.25 kB / 0.7463 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.002993, allocations: 7 kB / 0.7463 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.534e-05/0.003058, allocations: 30.2 kB / 0.7464 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003065, allocations: 192 / 0.7464 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.003072, allocations: 4.359 kB / 0.7464 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003078, allocations: 384 / 0.7464 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.372e-05/0.003092, allocations: 7.938 kB / 0.7464 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.776e-05/0.00316, allocations: 56.86 kB / 0.7464 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.392e-05/0.003194, allocations: 23.27 kB / 0.7465 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.007e-05/0.003204, allocations: 4.859 kB / 0.7465 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.00345, allocations: 47.95 kB / 0.7465 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.00347, allocations: 30.56 kB / 0.7465 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.003472, allocations: 0.875 kB / 0.7465 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.003576, allocations: 36.91 kB / 0.7466 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.003603, allocations: 55.41 kB / 0.7466 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.579e-05/0.003629, allocations: 89.86 kB / 0.7467 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.003639, allocations: 25.7 kB / 0.7467 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.003658, allocations: 84.14 kB / 0.7468 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.003682, allocations: 0 / 0.7468 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.003705, allocations: 13.72 kB / 0.7468 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.003789, allocations: 315.7 kB / 0.7471 GB, free: 492 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.003795, allocations: 3.594 kB / 0.7471 GB, free: 492 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.003802, allocations: 7.938 kB / 0.7471 GB, free: 484 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.003827, allocations: 8.844 kB / 0.7472 GB, free: 472 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.003828, allocations: 0 / 0.7472 GB, free: 472 kB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.955e-05/0.003878, allocations: 29.7 kB / 0.7472 GB, free: 436 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.003891, allocations: 8 kB / 0.7472 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.003896, allocations: 0 / 0.7472 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.003904, allocations: 0.6562 kB / 0.7472 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.18e-05/0.003946, allocations: 3.156 kB / 0.7472 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.003948, allocations: 4 kB / 0.7472 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-06/0.003956, allocations: 0 / 0.7472 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.00396, allocations: 0 / 0.7472 GB, free: 424 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 4.843e-05/0.004009, allocations: 117.7 kB / 0.7473 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.004024, allocations: 12.7 kB / 0.7473 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.004086, allocations: 33.36 kB / 0.7474 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.004088, allocations: 4 kB / 0.7474 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.00409, allocations: 1.156 kB / 0.7474 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.004093, allocations: 0 / 0.7474 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.985e-05/0.004142, allocations: 65.83 kB / 0.7474 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004143, allocations: 1 kB / 0.7474 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-06/0.004153, allocations: 4.875 kB / 0.7474 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-06/0.004157, allocations: 3.984 kB / 0.7474 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004158, allocations: 0.5938 kB / 0.7474 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.004161, allocations: 0.9062 kB / 0.7474 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.004162, allocations: 0 / 0.7474 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.004163, allocations: 4 kB / 0.7474 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.133e-05/0.004215, allocations: 66.48 kB / 0.7475 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-06/0.00422, allocations: 0 / 0.7475 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-06/0.004224, allocations: 5.094 kB / 0.7475 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.004233, allocations: 0.8438 kB / 0.7475 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.004235, allocations: 4 kB / 0.7475 GB, free: 52 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.813e-06/0.004242, allocations: 4.859 kB / 0.7475 GB, free: 44 kB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.004242, allocations: 1.219 kB / 0.7475 GB, free: 44 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001028/0.004345, allocations: 11.94 kB / 0.7475 GB, free: 32 kB / 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 () * 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.0001325/0.004478, allocations: 99.81 kB / 0.7476 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.072e-05/0.004528, allocations: 9.766 kB / 0.7476 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.004532, allocations: 0 / 0.7476 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.004539, allocations: 14.55 kB / 0.7476 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.83e-05/0.004587, allocations: 3.938 kB / 0.7476 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001467/0.004734, allocations: 84.16 kB / 0.7477 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.695e-05/0.004761, allocations: 51.36 kB / 0.7478 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.765e-05/0.004779, allocations: 3.984 kB / 0.7478 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.004807, allocations: 52.06 kB / 0.7478 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.004808, allocations: 0 / 0.7478 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.00202/0.006828, allocations: 0.5387 MB / 0.7484 GB, free: 15.15 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.926138528622687]