Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006516/0.006516, allocations: 102.1 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 196.3 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.91 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1945, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001701/0.1962, allocations: 0.6237 MB / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.197, allocations: 351.1 kB / 0.829 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.197, allocations: 0 / 0.829 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1971, allocations: 3.938 kB / 0.829 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.1971, allocations: 0 / 0.829 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.1976, allocations: 115.5 kB / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.1977, allocations: 31.89 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1978, allocations: 8 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.1978, allocations: 7.938 kB / 0.8292 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.1979, allocations: 15.92 kB / 0.8292 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1979, allocations: 0 / 0.8292 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.1983, allocations: 275.7 kB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.1983, allocations: 7.969 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.1983, allocations: 11.94 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1985, allocations: 99.77 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1986, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1986, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1986, allocations: 4 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004779/0.1991, allocations: 367.4 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1991, allocations: 8.031 kB / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.1992, allocations: 8.844 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1993, allocations: 164.4 kB / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1994, allocations: 12.25 kB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1994, allocations: 8.375 kB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1995, allocations: 46.19 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1995, allocations: 192 / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1996, allocations: 15.94 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1996, allocations: 0 / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.1996, allocations: 15.98 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.1998, allocations: 165.6 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1999, allocations: 62.53 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.1999, allocations: 32.73 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.2006, allocations: 461.5 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2007, allocations: 34.56 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2007, allocations: 0 / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001291/0.202, allocations: 0.5955 MB / 0.8315 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.202, allocations: 51.41 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.2021, allocations: 97.86 kB / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2021, allocations: 29.7 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.2022, allocations: 92.12 kB / 0.8318 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.2022, allocations: 39.39 kB / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.2023, allocations: 29.7 kB / 0.8318 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2024, allocations: 310.8 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.2024, allocations: 23.98 kB / 0.8321 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.2025, allocations: 23.98 kB / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.2026, allocations: 56.8 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2026, allocations: 0 / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.2027, allocations: 105.1 kB / 0.8323 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2028, allocations: 12 kB / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2028, allocations: 0 / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2028, allocations: 0 / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2029, allocations: 20 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2029, allocations: 7.984 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.2029, allocations: 0 / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.203, allocations: 4 kB / 0.8324 GB, free: 11.37 MB / 0.6544 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 (13): * Single equations (assignments): 13 * 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.133e-05/0.203, allocations: 113.8 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.2031, allocations: 7.938 kB / 0.8325 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.2033, allocations: 105.6 kB / 0.8326 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2033, allocations: 4 kB / 0.8326 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2033, allocations: 3.984 kB / 0.8326 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2033, allocations: 0 / 0.8326 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.2036, allocations: 354.4 kB / 0.8329 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2037, allocations: 0 / 0.8329 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2038, allocations: 20 kB / 0.8329 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2038, allocations: 0 / 0.8329 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2038, allocations: 8.078 kB / 0.833 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2038, allocations: 11.94 kB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2038, allocations: 0 / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.204, allocations: 223.3 kB / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.2041, allocations: 85 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2041, allocations: 8 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.2042, allocations: 0 / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.2042, allocations: 11.92 kB / 0.8333 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2042, allocations: 8 kB / 0.8333 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.2043, allocations: 83.52 kB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2043, allocations: 0 / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002611/0.2046, allocations: 47.98 kB / 0.8334 GB, free: 10.19 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002214/0.2048, allocations: 135.2 kB / 0.8335 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2049, allocations: 71.84 kB / 0.8336 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2049, allocations: 4 kB / 0.8336 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.205, allocations: 27.94 kB / 0.8336 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.2052, allocations: 8 kB / 0.8337 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.2056, allocations: 170.2 kB / 0.8338 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2058, allocations: 0.6883 MB / 0.8345 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.2059, allocations: 11.98 kB / 0.8345 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.2059, allocations: 15.38 kB / 0.8345 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2059, allocations: 4 kB / 0.8345 GB, free: 9 MB / 0.6544 GB Notification: Performance of Templates: time 0.003757/0.2096, allocations: 1.409 MB / 0.8359 GB, free: 7.625 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)