Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.0009536/0.0009536, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.00143/0.00143, allocations: 165 kB / 24.25 MB, free: 208 kB / 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 1.002/1.002, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.912/1.912, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 4 kB / 0.7754 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.158e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002742/0.002774, allocations: 1.552 MB / 0.7769 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006769/0.00345, allocations: 364.8 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.003498, allocations: 0.5938 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.00354, allocations: 4.641 kB / 0.7772 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.003604, allocations: 10.14 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.004031, allocations: 90.69 kB / 0.7773 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.004114, allocations: 24.8 kB / 0.7774 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.004205, allocations: 13.11 kB / 0.7774 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.004273, allocations: 12.86 kB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.004312, allocations: 4.766 kB / 0.7774 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.004331, allocations: 5.625 kB / 0.7774 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.004677, allocations: 275.6 kB / 0.7777 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.004699, allocations: 8.75 kB / 0.7777 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.004718, allocations: 10.38 kB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.004934, allocations: 130.2 kB / 0.7778 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.004938, allocations: 0 / 0.7778 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.625e-06/0.004941, allocations: 3.938 kB / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.004948, allocations: 0 / 0.7778 GB, free: 2.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003585/0.005306, allocations: 262.4 kB / 0.7781 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.005351, allocations: 9.344 kB / 0.7781 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.005435, allocations: 9.594 kB / 0.7781 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.005524, allocations: 106.2 kB / 0.7782 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005537, allocations: 5.125 kB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.005546, allocations: 384 / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005679, allocations: 56.91 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.005688, allocations: 192 / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.005697, allocations: 4.312 kB / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.005703, allocations: 384 / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.005729, allocations: 7.938 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.005989, allocations: 155 kB / 0.7784 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.006043, allocations: 18.58 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.006062, allocations: 8.922 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.00639, allocations: 75.08 kB / 0.7785 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.006416, allocations: 30.56 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 3.026e-06/0.006419, allocations: 0 / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.006594, allocations: 41.62 kB / 0.7786 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.006634, allocations: 56.94 kB / 0.7786 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.006704, allocations: 110.7 kB / 0.7787 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006716, allocations: 25.7 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.006756, allocations: 84.14 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.006781, allocations: 12.7 kB / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.006812, allocations: 13.72 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.00692, allocations: 318.8 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.006931, allocations: 1.25 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.006943, allocations: 4 kB / 0.7792 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.006977, allocations: 10.61 kB / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00698, allocations: 0 / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.007082, allocations: 41.62 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.007097, allocations: 4 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.007105, allocations: 1.219 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007116, allocations: 0 / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.007198, allocations: 15.92 kB / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.007202, allocations: 0.6562 kB / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.00722, allocations: 256 / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.007227, allocations: 9.125 kB / 0.7792 GB, free: 1.23 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 (2): * Single equations (assignments): 2 * 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 7.576e-05/0.007303, allocations: 109.8 kB / 0.7793 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.007345, allocations: 4.906 kB / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.007436, allocations: 45.23 kB / 0.7794 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.007439, allocations: 0.5 kB / 0.7794 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.007444, allocations: 4.719 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007448, allocations: 7.938 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.007551, allocations: 70.5 kB / 0.7795 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007554, allocations: 0 / 0.7795 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.007583, allocations: 4.906 kB / 0.7795 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007585, allocations: 0 / 0.7795 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007591, allocations: 4.797 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.007592, allocations: 0 / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.007593, allocations: 4 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.0077, allocations: 133.8 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.007711, allocations: 15.88 kB / 0.7796 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.007721, allocations: 4 kB / 0.7796 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.007751, allocations: 0 / 0.7796 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.007792, allocations: 4 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.007796, allocations: 3.031 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.116e-05/0.007817, allocations: 16.78 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007817, allocations: 0 / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001475/0.007964, allocations: 12 kB / 0.7797 GB, free: 0.7539 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 (2): * Single equations (assignments): 2 * 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.0001863/0.008151, allocations: 96.34 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.008232, allocations: 12.86 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.008236, allocations: 3.031 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.008254, allocations: 8.859 kB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.008427, allocations: 3.938 kB / 0.7798 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.008731, allocations: 124.5 kB / 0.7799 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.806e-05/0.008769, allocations: 51.36 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.008791, allocations: 5.484 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.008839, allocations: 51.38 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of SimCode: time 1.423e-06/0.00884, allocations: 0 / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of Templates: time 0.003388/0.01223, allocations: 0.7842 MB / 0.7808 GB, free: 15.6 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.29164660256356]