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.0009985/0.0009985, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001863/0.001863, allocations: 169 kB / 24.06 MB, free: 456 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 0.9574/0.9574, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.002436/0.002436, allocations: 249.8 kB / 261.3 MB, free: 12.65 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.7598/0.7598, allocations: 138.4 MB / 456.3 MB, free: 1.383 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 1.182e-06/1.182e-06, allocations: 0 / 0.5564 GB, free: 164 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.412e-05, allocations: 6.312 kB / 0.5564 GB, free: 156 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001239/0.001253, allocations: 0.6079 MB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005213/0.001774, allocations: 314.8 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.001795, allocations: 0 / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.00181, allocations: 0 / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.019e-05/0.00183, allocations: 3.938 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.002203, allocations: 111.6 kB / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.002245, allocations: 4 kB / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.002281, allocations: 7.984 kB / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.002306, allocations: 8 kB / 0.5574 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.002353, allocations: 3.984 kB / 0.5575 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.002364, allocations: 0 / 0.5575 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.002684, allocations: 263.5 kB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.002697, allocations: 3.938 kB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.002711, allocations: 8 kB / 0.5577 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.002879, allocations: 115.7 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.002882, allocations: 4 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002883, allocations: 4 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.002886, allocations: 0 / 0.5578 GB, free: 14.71 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.0002752/0.003161, allocations: 364.5 kB / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.003192, allocations: 8.75 kB / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.003251, allocations: 8.891 kB / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.924e-05/0.00333, allocations: 112.6 kB / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.00334, allocations: 384 / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.003355, allocations: 4.375 kB / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.00343, allocations: 63.89 kB / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-06/0.003436, allocations: 4.188 kB / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.003442, allocations: 384 / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.003446, allocations: 384 / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.108e-05/0.003457, allocations: 7.938 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.822e-05/0.003555, allocations: 97.25 kB / 0.5585 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.003595, allocations: 35.08 kB / 0.5585 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.003607, allocations: 11.62 kB / 0.5585 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.003939, allocations: 79.98 kB / 0.5586 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.003961, allocations: 37.33 kB / 0.5586 GB, free: 13.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.003962, allocations: 4 kB / 0.5586 GB, free: 13.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000311/0.004273, allocations: 177.7 kB / 0.5588 GB, free: 13.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.004297, allocations: 51.41 kB / 0.5589 GB, free: 13.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.004364, allocations: 162.1 kB / 0.559 GB, free: 13.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.004374, allocations: 29.7 kB / 0.559 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.004409, allocations: 130.9 kB / 0.5592 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.004428, allocations: 7.953 kB / 0.5592 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.004457, allocations: 19.38 kB / 0.5592 GB, free: 13.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.004572, allocations: 0.4883 MB / 0.5597 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.004582, allocations: 7.984 kB / 0.5597 GB, free: 12.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.004603, allocations: 23.38 kB / 0.5597 GB, free: 12.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.004637, allocations: 27.31 kB / 0.5597 GB, free: 12.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.004637, allocations: 4.125 kB / 0.5597 GB, free: 12.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.177e-05/0.004709, allocations: 45.69 kB / 0.5598 GB, free: 12.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.004721, allocations: 8 kB / 0.5598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004725, allocations: 0 / 0.5598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004732, allocations: 0 / 0.5598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.00477, allocations: 11.94 kB / 0.5598 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004773, allocations: 3.984 kB / 0.5598 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.004788, allocations: 3.938 kB / 0.5598 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.004793, allocations: 0 / 0.5598 GB, free: 12.45 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 6.36e-05/0.004856, allocations: 164.6 kB / 0.56 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.004876, allocations: 7.953 kB / 0.56 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.004958, allocations: 49.38 kB / 0.56 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00496, allocations: 0 / 0.56 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.004963, allocations: 4 kB / 0.56 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.004965, allocations: 0 / 0.56 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.842e-05/0.005033, allocations: 101.2 kB / 0.5601 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.005037, allocations: 8 kB / 0.5601 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.005069, allocations: 7.938 kB / 0.5601 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.00507, allocations: 4 kB / 0.5601 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-06/0.005074, allocations: 3.938 kB / 0.5601 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005075, allocations: 0 / 0.5601 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005076, allocations: 0 / 0.5601 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.935e-05/0.005175, allocations: 88.55 kB / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-06/0.005181, allocations: 4 kB / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.00519, allocations: 3.984 kB / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.005208, allocations: 0 / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.005218, allocations: 0 / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.005223, allocations: 4 kB / 0.5602 GB, free: 11.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.817e-05/0.005261, allocations: 127.2 kB / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005261, allocations: 0 / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.005462, allocations: 27.92 kB / 0.5604 GB, free: 11.79 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.0001359/0.005598, allocations: 126.8 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.005662, allocations: 23.66 kB / 0.5605 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.005663, allocations: 0 / 0.5605 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.005679, allocations: 19.69 kB / 0.5605 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.005801, allocations: 7.922 kB / 0.5605 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.005965, allocations: 121 kB / 0.5607 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.748e-05/0.005993, allocations: 59.36 kB / 0.5607 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.177e-05/0.006015, allocations: 0 / 0.5607 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.006059, allocations: 78.19 kB / 0.5608 GB, free: 11.3 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006059, allocations: 0 / 0.5608 GB, free: 11.3 MB / 490.7 MB Notification: Performance of Templates: time 0.002572/0.008631, allocations: 1.03 MB / 0.5618 GB, free: 10.3 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.5469124377705157]