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.0009429/0.0009429, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002289, 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.0007227/0.0007227, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009538/0.001676, 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.023/1.023, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09213/1.115, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.94/1.94, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4534/2.393, allocations: 127.1 MB / 0.7435 GB, free: 4.523 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.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 1.673e-06/1.673e-06, allocations: 0 / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.683e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00234/0.002367, allocations: 1.561 MB / 0.7463 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004527/0.002819, allocations: 367.8 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.002845, allocations: 0 / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.002869, allocations: 4 kB / 0.7467 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.584e-05/0.002895, allocations: 6.125 kB / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.003137, allocations: 94.03 kB / 0.7468 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.0032, allocations: 24.8 kB / 0.7468 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.003282, allocations: 13.17 kB / 0.7468 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.003357, allocations: 17.92 kB / 0.7468 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.003402, allocations: 12.86 kB / 0.7468 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.003419, allocations: 1.578 kB / 0.7469 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.003723, allocations: 271.7 kB / 0.7471 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.00374, allocations: 7.031 kB / 0.7471 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.003756, allocations: 4.656 kB / 0.7471 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.003934, allocations: 106.3 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.003947, allocations: 0 / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003948, allocations: 0.9688 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.003961, allocations: 0 / 0.7472 GB, free: 0.7734 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003856/0.004347, allocations: 277.7 kB / 0.7475 GB, free: 488 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004379, allocations: 8.031 kB / 0.7475 GB, free: 480 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.004471, allocations: 86.64 kB / 0.7476 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.004553, allocations: 114.4 kB / 0.7477 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.004562, allocations: 384 / 0.7477 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.004572, allocations: 0.9375 kB / 0.7477 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.004678, allocations: 52.48 kB / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004685, allocations: 1.062 kB / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.00469, allocations: 384 / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.004695, allocations: 384 / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.004715, allocations: 9.938 kB / 0.7478 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.004928, allocations: 156.2 kB / 0.7479 GB, free: 16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/0.004971, allocations: 18.58 kB / 0.7479 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.004985, allocations: 8.922 kB / 0.7479 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.005257, allocations: 79.06 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.005276, allocations: 32.34 kB / 0.748 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005277, allocations: 0 / 0.748 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001182/0.005395, allocations: 37.64 kB / 0.7481 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.005419, allocations: 59.33 kB / 0.7481 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.00547, allocations: 107.9 kB / 0.7482 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.005478, allocations: 27.14 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.005508, allocations: 88.12 kB / 0.7483 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.005525, allocations: 11.89 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.005548, allocations: 17.7 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.005616, allocations: 311.9 kB / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.005623, allocations: 1.203 kB / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-06/0.005632, allocations: 4.5 kB / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/0.005654, allocations: 13.59 kB / 0.7487 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005656, allocations: 0 / 0.7487 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.408e-05/0.00571, allocations: 39.67 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.005721, allocations: 4 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005725, allocations: 0 / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.005739, allocations: 7.984 kB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.005794, allocations: 7.938 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005796, allocations: 2.75 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.005812, allocations: 4 kB / 0.7487 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.005816, allocations: 0.5469 kB / 0.7487 GB, free: 15.06 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 4.54e-05/0.005861, allocations: 105.8 kB / 0.7488 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.005885, allocations: 11.98 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.005947, allocations: 41.25 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005948, allocations: 3.031 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.005951, allocations: 8.703 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005953, allocations: 0 / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.076e-05/0.006034, allocations: 65.89 kB / 0.749 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006035, allocations: 0 / 0.749 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.006058, allocations: 7.984 kB / 0.749 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006066, allocations: 11.94 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.006067, allocations: 0 / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.00607, allocations: 1.531 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006071, allocations: 1.125 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.006073, allocations: 4.188 kB / 0.749 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.233e-05/0.006155, allocations: 135.5 kB / 0.7491 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-06/0.006165, allocations: 4.844 kB / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.006193, allocations: 0 / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.006222, allocations: 12.42 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.006223, allocations: 0.7812 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.429e-05/0.006238, allocations: 13.45 kB / 0.7492 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006238, allocations: 0.625 kB / 0.7492 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000131/0.006369, allocations: 12 kB / 0.7492 GB, free: 14.59 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.0001392/0.006508, allocations: 105.2 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.006569, allocations: 14.8 kB / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.006573, allocations: 0 / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.006593, allocations: 14.31 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.006755, allocations: 32.39 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.007107, allocations: 109.9 kB / 0.7494 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.007143, allocations: 60.94 kB / 0.7495 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.902e-05/0.007162, allocations: 3.984 kB / 0.7495 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.007205, allocations: 51.38 kB / 0.7495 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.007205, allocations: 7.875 kB / 0.7495 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.002316/0.009522, allocations: 0.7247 MB / 0.7503 GB, free: 13.45 MB / 0.7292 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: 4.812182849273086]