Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001146/0.001146, allocations: 107.8 kB / 16.41 MB, free: 6.48 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.001296/0.001296, allocations: 193.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.98 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1832, allocations: 76.18 MB / 0.6321 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001714/0.185, allocations: 0.6039 MB / 0.6327 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000717/0.1857, allocations: 359 kB / 0.6331 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1858, allocations: 0 / 0.6331 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.1858, allocations: 3.938 kB / 0.6331 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.1859, allocations: 0 / 0.6331 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.1863, allocations: 127.5 kB / 0.6332 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.1864, allocations: 23.97 kB / 0.6332 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.1865, allocations: 7.984 kB / 0.6332 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.1865, allocations: 7.938 kB / 0.6332 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.1866, allocations: 11.98 kB / 0.6332 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1866, allocations: 0 / 0.6332 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.187, allocations: 279.7 kB / 0.6335 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.187, allocations: 15.91 kB / 0.6335 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.1871, allocations: 7.938 kB / 0.6335 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1873, allocations: 103.8 kB / 0.6336 GB, free: 2.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1873, allocations: 0 / 0.6336 GB, free: 2.934 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1873, allocations: 0 / 0.6336 GB, free: 2.934 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1873, allocations: 4 kB / 0.6336 GB, free: 2.93 MB / 478.1 MB 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.00054/0.1879, allocations: 363.4 kB / 0.634 GB, free: 2.523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1879, allocations: 8.031 kB / 0.634 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.188, allocations: 4.938 kB / 0.634 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.1882, allocations: 168.3 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1882, allocations: 4.375 kB / 0.6342 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1882, allocations: 4.375 kB / 0.6342 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1884, allocations: 50.25 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1884, allocations: 192 / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1884, allocations: 7.938 kB / 0.6342 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1884, allocations: 4 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.1885, allocations: 15.98 kB / 0.6342 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.1888, allocations: 165.6 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1889, allocations: 66.48 kB / 0.6345 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.1889, allocations: 20.86 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.1897, allocations: 469.4 kB / 0.6349 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1897, allocations: 30.56 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1897, allocations: 0 / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001403/0.1911, allocations: 0.5954 MB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1912, allocations: 51.41 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1913, allocations: 101.8 kB / 0.6357 GB, free: 472 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1913, allocations: 29.7 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.1914, allocations: 92.08 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.1914, allocations: 39.44 kB / 0.6358 GB, free: 300 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1915, allocations: 25.72 kB / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1916, allocations: 318.8 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.1916, allocations: 19.94 kB / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.1917, allocations: 26.23 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.1918, allocations: 56.84 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1918, allocations: 0 / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001542/0.192, allocations: 100.5 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.192, allocations: 8 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.192, allocations: 4 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.192, allocations: 0 / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1921, allocations: 23.92 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1921, allocations: 0 / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.1922, allocations: 4 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1922, allocations: 4 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB 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 8.263e-05/0.1923, allocations: 113.8 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1923, allocations: 15.84 kB / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.1925, allocations: 113.4 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1925, allocations: 4 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1925, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1925, allocations: 4 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.1929, allocations: 350.5 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1929, allocations: 0 / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.193, allocations: 23.92 kB / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.193, allocations: 0 / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.193, allocations: 0 / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1931, allocations: 8 kB / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1931, allocations: 96 / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1933, allocations: 219.6 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.1934, allocations: 89.12 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1934, allocations: 4 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.1935, allocations: 3.984 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.1935, allocations: 8 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1935, allocations: 4.062 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.1936, allocations: 83.27 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1936, allocations: 0 / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1938, allocations: 44 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB 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.0002781/0.1941, allocations: 139.2 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1943, allocations: 71.89 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1943, allocations: 0 / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.1944, allocations: 39.92 kB / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1946, allocations: 8 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.195, allocations: 174.1 kB / 0.6378 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1953, allocations: 0.6885 MB / 0.6385 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1954, allocations: 8 kB / 0.6385 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1954, allocations: 11.44 kB / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1954, allocations: 4 kB / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Templates: time 0.004089/0.1995, allocations: 1.415 MB / 0.6399 GB, free: 11.91 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)