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.0008509/0.0008509, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002002, allocations: 435.8 kB / 10.33 MB, free: 368 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.000914/0.000914, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.002058, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9633/0.9633, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07838/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001279/0.001279, allocations: 247.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009628/0.002241, allocations: 459.6 kB / 244.6 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7169/0.7169, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06493/0.7818, allocations: 42.41 MB / 426.5 MB, free: 5.938 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.805e-06/2.805e-06, allocations: 4 kB / 427.8 MB, free: 4.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.349e-05, allocations: 6.312 kB / 427.9 MB, free: 4.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009767/0.0009902, allocations: 0.6586 MB / 428.5 MB, free: 3.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.001339, allocations: 318.8 kB / 428.8 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.001353, allocations: 0 / 428.8 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-06/0.001358, allocations: 0 / 428.8 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.001363, allocations: 3.938 kB / 428.8 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.001579, allocations: 95.56 kB / 428.9 MB, free: 3.484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.001622, allocations: 15.98 kB / 428.9 MB, free: 3.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.001653, allocations: 0 / 428.9 MB, free: 3.469 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.001693, allocations: 7.984 kB / 428.9 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.001746, allocations: 7.938 kB / 429 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.001757, allocations: 0 / 429 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.002038, allocations: 283.6 kB / 429.2 MB, free: 3.176 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.002047, allocations: 4 kB / 429.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.028e-05/0.002057, allocations: 4 kB / 429.2 MB, free: 3.168 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.002196, allocations: 83.84 kB / 429.3 MB, free: 3.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.00221, allocations: 3.938 kB / 429.3 MB, free: 3.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002211, allocations: 4 kB / 429.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.002226, allocations: 7.938 kB / 429.3 MB, free: 3.07 MB / 410.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.0002847/0.00251, allocations: 252.4 kB / 429.6 MB, free: 2.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.524e-05/0.002536, allocations: 8.031 kB / 429.6 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.002605, allocations: 82.05 kB / 429.7 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.002676, allocations: 105.8 kB / 429.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.002687, allocations: 8.375 kB / 429.8 MB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.002701, allocations: 4.375 kB / 429.8 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.002774, allocations: 59.95 kB / 429.8 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.00278, allocations: 4.188 kB / 429.8 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.002785, allocations: 384 / 429.8 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.002789, allocations: 384 / 429.8 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.368e-05/0.002803, allocations: 7.938 kB / 429.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.416e-05/0.002877, allocations: 64.97 kB / 429.9 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.002912, allocations: 26.59 kB / 429.9 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.056e-05/0.002922, allocations: 4.859 kB / 429.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.003219, allocations: 75.98 kB / 430 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.003242, allocations: 38.56 kB / 430.1 MB, free: 2.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.003243, allocations: 0 / 430.1 MB, free: 2.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003531/0.003596, allocations: 169.3 kB / 430.2 MB, free: 2.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.003619, allocations: 51.62 kB / 430.3 MB, free: 1.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.397e-05/0.003663, allocations: 110.7 kB / 430.4 MB, free: 1.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.003672, allocations: 29.64 kB / 430.4 MB, free: 1.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.003691, allocations: 80.14 kB / 430.5 MB, free: 1.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.003711, allocations: 15.84 kB / 430.5 MB, free: 1.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.003732, allocations: 17.72 kB / 430.5 MB, free: 1.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.003799, allocations: 318.8 kB / 430.8 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.003807, allocations: 7.984 kB / 430.8 MB, free: 1.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.003821, allocations: 13.72 kB / 430.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.003846, allocations: 21.84 kB / 430.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.003847, allocations: 0 / 430.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.247e-05/0.0039, allocations: 45.62 kB / 430.9 MB, free: 1.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.00391, allocations: 7.938 kB / 430.9 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.003914, allocations: 0 / 430.9 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.003921, allocations: 0 / 430.9 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.003961, allocations: 11.98 kB / 430.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.003963, allocations: 0 / 430.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.003972, allocations: 0 / 430.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.003977, allocations: 7.938 kB / 431 MB, free: 1.234 MB / 410.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 4.644e-05/0.004024, allocations: 117.8 kB / 431.1 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.004037, allocations: 4 kB / 431.1 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.004101, allocations: 49.36 kB / 431.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.004102, allocations: 0 / 431.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.004103, allocations: 0 / 431.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004105, allocations: 0 / 431.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.302e-05/0.004158, allocations: 65.84 kB / 431.2 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004159, allocations: 0 / 431.2 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.004186, allocations: 8 kB / 431.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.004192, allocations: 11.97 kB / 431.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.004193, allocations: 0 / 431.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.004196, allocations: 0 / 431.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004197, allocations: 0 / 431.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.004199, allocations: 4 kB / 431.2 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.362e-05/0.004273, allocations: 69 kB / 431.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.004281, allocations: 8 kB / 431.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.004295, allocations: 3.984 kB / 431.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.004305, allocations: 4 kB / 431.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.004307, allocations: 0 / 431.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.551e-06/0.004313, allocations: 8.891 kB / 431.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004313, allocations: 0 / 431.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.004425, allocations: 23.94 kB / 431.3 MB, free: 0.8125 MB / 410.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.0001136/0.004539, allocations: 116.3 kB / 431.4 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.38e-05/0.004593, allocations: 21.02 kB / 431.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.004596, allocations: 0 / 431.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.004606, allocations: 16.83 kB / 431.5 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.218e-05/0.004659, allocations: 7.938 kB / 431.5 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000142/0.004801, allocations: 115.4 kB / 431.6 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.271e-05/0.004823, allocations: 51.36 kB / 431.6 MB, free: 444 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.004844, allocations: 11.92 kB / 431.7 MB, free: 432 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.004875, allocations: 51.38 kB / 431.7 MB, free: 380 kB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.004876, allocations: 0 / 431.7 MB, free: 380 kB / 410.7 MB Notification: Performance of Templates: time 0.1614/0.1662, allocations: 1.039 MB / 432.7 MB, free: 3.18 MB / 410.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.3429380832239985]