Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0009546/0.0009546, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009003/0.0009003, allocations: 169 kB / 23.03 MB, free: 1.543 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.9102/0.9102, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001562/0.001562, allocations: 245.6 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7454/0.7454, allocations: 138.4 MB / 455.2 MB, free: 1.57 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.5552 GB, free: 500 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.85e-05, allocations: 6.312 kB / 0.5552 GB, free: 492 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001807/0.001835, allocations: 0.6118 MB / 0.5558 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.002332, allocations: 310.9 kB / 0.5561 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.002355, allocations: 0 / 0.5561 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.002373, allocations: 0 / 0.5561 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.124e-05/0.002394, allocations: 3.938 kB / 0.5561 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.002809, allocations: 127.5 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.002857, allocations: 4 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.002891, allocations: 8 kB / 0.5562 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.887e-05/0.00292, allocations: 3.984 kB / 0.5562 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.002968, allocations: 4 kB / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.002982, allocations: 0 / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.003252, allocations: 263.6 kB / 0.5565 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.003265, allocations: 3.938 kB / 0.5565 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.003282, allocations: 11.98 kB / 0.5565 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.003446, allocations: 115.7 kB / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003448, allocations: 0 / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003449, allocations: 0 / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.003454, allocations: 0 / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002921/0.003746, allocations: 368.5 kB / 0.5569 GB, free: 14.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.003785, allocations: 8.75 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.00386, allocations: 12.83 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.003934, allocations: 108.6 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003944, allocations: 4.375 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.003962, allocations: 4.375 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.374e-05/0.004056, allocations: 59.97 kB / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.004063, allocations: 192 / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004072, allocations: 384 / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004078, allocations: 384 / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.004092, allocations: 11.92 kB / 0.5571 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.004212, allocations: 108.6 kB / 0.5572 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.004257, allocations: 35.03 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.004272, allocations: 11.62 kB / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.004601, allocations: 79.98 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.004627, allocations: 45.38 kB / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004628, allocations: 0 / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004246/0.005052, allocations: 185.9 kB / 0.5576 GB, free: 13.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.00508, allocations: 51.41 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.005138, allocations: 153.9 kB / 0.5578 GB, free: 13.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.005149, allocations: 33.7 kB / 0.5578 GB, free: 13.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.005178, allocations: 126.9 kB / 0.5579 GB, free: 13.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.005197, allocations: 3.953 kB / 0.5579 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.005226, allocations: 27.36 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.005327, allocations: 492.1 kB / 0.5584 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.005344, allocations: 4 kB / 0.5584 GB, free: 12.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.005372, allocations: 31.45 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.005408, allocations: 27.38 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005409, allocations: 0 / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.756e-05/0.005486, allocations: 53.59 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.005501, allocations: 11.98 kB / 0.5586 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005505, allocations: 0 / 0.5586 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.005517, allocations: 0 / 0.5586 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.005569, allocations: 8 kB / 0.5586 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.005575, allocations: 3.938 kB / 0.5586 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.005586, allocations: 8.062 kB / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.005592, allocations: 0 / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.679e-05/0.005649, allocations: 156.6 kB / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.005665, allocations: 4 kB / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.005761, allocations: 53.3 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.005763, allocations: 4 kB / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.005767, allocations: 0 / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.00577, allocations: 3.938 kB / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.345e-05/0.005834, allocations: 112.6 kB / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.005835, allocations: 4.188 kB / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.005871, allocations: 7.984 kB / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005874, allocations: 0 / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.005881, allocations: 11.92 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.005882, allocations: 0 / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005883, allocations: 0 / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.005984, allocations: 92.31 kB / 0.559 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-06/0.005989, allocations: 3.953 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.005999, allocations: 4 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.006014, allocations: 3.984 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.006029, allocations: 8.031 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006032, allocations: 0 / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.092e-05/0.006063, allocations: 123.1 kB / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006063, allocations: 4 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.006209, allocations: 19.94 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001578/0.006366, allocations: 131.2 kB / 0.5593 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.006444, allocations: 27.61 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006446, allocations: 0 / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.006458, allocations: 11.91 kB / 0.5593 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.006567, allocations: 12 kB / 0.5593 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.00677, allocations: 120.8 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.485e-05/0.006794, allocations: 51.36 kB / 0.5595 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.006818, allocations: 4 kB / 0.5595 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.006835, allocations: 8.5 kB / 0.5595 GB, free: 11.63 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006836, allocations: 0 / 0.5595 GB, free: 11.63 MB / 490.7 MB Notification: Performance of Templates: time 0.002761/0.009596, allocations: 1.025 MB / 0.5605 GB, free: 10.64 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.521014607977122]