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.004503/0.004503, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001047/0.001047, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.167/1.167, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.363/1.363, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001273/0.001273, allocations: 67.91 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1782, allocations: 104.7 MB / 0.8281 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001839/0.1801, allocations: 0.6253 MB / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.1808, allocations: 343.1 kB / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1808, allocations: 0 / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1809, allocations: 0 / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.1809, allocations: 3.938 kB / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.1813, allocations: 127.5 kB / 0.8291 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.1814, allocations: 23.98 kB / 0.8292 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.1814, allocations: 3.984 kB / 0.8292 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.1815, allocations: 11.88 kB / 0.8292 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.1815, allocations: 19.91 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1815, allocations: 4 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.1819, allocations: 275.7 kB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1819, allocations: 3.984 kB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.1819, allocations: 11.94 kB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1821, allocations: 99.77 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1821, allocations: 4 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1821, allocations: 0 / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1821, allocations: 3.938 kB / 0.8296 GB, free: 14.65 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.0004347/0.1826, allocations: 373.8 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1826, allocations: 8.031 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1827, allocations: 8.844 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1828, allocations: 160.4 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1828, allocations: 384 / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1828, allocations: 8.375 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1829, allocations: 54.23 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.183, allocations: 4.125 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.183, allocations: 7.938 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.183, allocations: 0 / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.183, allocations: 15.98 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1832, allocations: 169.6 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.1833, allocations: 54.56 kB / 0.8304 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.1834, allocations: 36.84 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.184, allocations: 453.5 kB / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.184, allocations: 46.5 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.184, allocations: 0 / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001177/0.1852, allocations: 0.5911 MB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1853, allocations: 51.41 kB / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.1853, allocations: 101.9 kB / 0.8316 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1853, allocations: 25.7 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.1854, allocations: 80.14 kB / 0.8317 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1854, allocations: 43.39 kB / 0.8318 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1855, allocations: 33.7 kB / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1856, allocations: 310.8 kB / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.1856, allocations: 23.98 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.1857, allocations: 23.36 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.1857, allocations: 52.86 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1858, allocations: 4 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001443/0.1859, allocations: 105.5 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1859, allocations: 6.812 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1859, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.186, allocations: 3.984 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.1861, allocations: 24 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1861, allocations: 0.5469 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.1861, allocations: 4 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1861, allocations: 4 kB / 0.8324 GB, free: 11.41 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 6.904e-05/0.1862, allocations: 129.7 kB / 0.8325 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1862, allocations: 7.938 kB / 0.8325 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1864, allocations: 101.6 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1864, allocations: 0 / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1864, allocations: 0 / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1864, allocations: 4.094 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.1867, allocations: 358.3 kB / 0.8329 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1868, allocations: 0 / 0.8329 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.1869, allocations: 27.98 kB / 0.833 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1869, allocations: 4 kB / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1869, allocations: 0 / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1869, allocations: 0 / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1869, allocations: 0 / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1871, allocations: 227.2 kB / 0.8332 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1872, allocations: 92.97 kB / 0.8333 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1872, allocations: 4 kB / 0.8333 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.1873, allocations: 4 kB / 0.8333 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1873, allocations: 12.05 kB / 0.8333 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1873, allocations: 4 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.1874, allocations: 79.28 kB / 0.8334 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1874, allocations: 0 / 0.8334 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002538/0.1877, allocations: 43.98 kB / 0.8334 GB, free: 10.22 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.0002237/0.1879, allocations: 131.2 kB / 0.8335 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.188, allocations: 71.86 kB / 0.8336 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1881, allocations: 0 / 0.8336 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.1881, allocations: 36.36 kB / 0.8336 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1883, allocations: 11.25 kB / 0.8336 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.1886, allocations: 181.4 kB / 0.8338 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1889, allocations: 0.6883 MB / 0.8345 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.82e-05/0.1889, allocations: 11.98 kB / 0.8345 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.189, allocations: 15.44 kB / 0.8345 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.189, allocations: 0 / 0.8345 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of Templates: time 0.003491/0.1925, allocations: 1.416 MB / 0.8359 GB, free: 7.648 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)