Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0009538/0.0009538, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.000886/0.000886, allocations: 184 kB / 17.22 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.208/1.208, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.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.001306/0.001307, allocations: 72.17 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.188, allocations: 114.5 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001591/0.1896, allocations: 0.628 MB / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006151/0.1902, allocations: 342.7 kB / 0.785 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1903, allocations: 0 / 0.785 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1903, allocations: 7.938 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.1903, allocations: 0 / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1907, allocations: 127.5 kB / 0.7851 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.1908, allocations: 19.98 kB / 0.7852 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.1908, allocations: 0 / 0.7852 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.1908, allocations: 15.98 kB / 0.7852 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.1909, allocations: 15.91 kB / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1909, allocations: 0 / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.1913, allocations: 275.7 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1913, allocations: 7.938 kB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.1913, allocations: 11.92 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1915, allocations: 103.8 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1915, allocations: 4 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1915, allocations: 0 / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1915, allocations: 4 kB / 0.7856 GB, free: 2.312 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.000364/0.1918, allocations: 359.7 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.1919, allocations: 8.031 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1919, allocations: 4.938 kB / 0.7859 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.192, allocations: 168.3 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1921, allocations: 8.375 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1921, allocations: 8.375 kB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.1922, allocations: 50.23 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1922, allocations: 4.188 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1922, allocations: 3.938 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1922, allocations: 3.984 kB / 0.7862 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.1923, allocations: 19.98 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1924, allocations: 165.6 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.1925, allocations: 62.56 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.1926, allocations: 32.84 kB / 0.7864 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/0.1932, allocations: 457.5 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1932, allocations: 34.56 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1932, allocations: 0 / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001138/0.1944, allocations: 0.5955 MB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3101/0.5045, allocations: 52.56 kB / 0.7875 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.5046, allocations: 97.52 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.5047, allocations: 28.98 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.5047, allocations: 82.67 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.5047, allocations: 33.42 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.5048, allocations: 38.62 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.5048, allocations: 313.4 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.5049, allocations: 23.67 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.5049, allocations: 21.58 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.505, allocations: 55.86 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.505, allocations: 0 / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001535/0.5052, allocations: 106.7 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5052, allocations: 8.938 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.5052, allocations: 0 / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5052, allocations: 0 / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5053, allocations: 24.12 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5054, allocations: 0 / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.5054, allocations: 1.125 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5054, allocations: 3.656 kB / 0.7883 GB, free: 48.3 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 5.137e-05/0.5055, allocations: 116.1 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.5055, allocations: 4.578 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.5057, allocations: 114.7 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5057, allocations: 4.531 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5057, allocations: 0 / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5057, allocations: 0 / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.506, allocations: 363.1 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.506, allocations: 0 / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.5061, allocations: 22.02 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5061, allocations: 0.6562 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.5061, allocations: 3.219 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5061, allocations: 0 / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5061, allocations: 0.8438 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.5063, allocations: 220.9 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.5063, allocations: 92.19 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5064, allocations: 6.219 kB / 0.7893 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.5064, allocations: 1.781 kB / 0.7893 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.5065, allocations: 14.89 kB / 0.7893 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5065, allocations: 2.969 kB / 0.7893 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.546e-05/0.5065, allocations: 75.28 kB / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5065, allocations: 0 / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002498/0.5068, allocations: 45.94 kB / 0.7894 GB, free: 47.54 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.0001815/0.5069, allocations: 138 kB / 0.7895 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.5071, allocations: 66.5 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5071, allocations: 2.688 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.5071, allocations: 34.41 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.5073, allocations: 13.8 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.5076, allocations: 167.7 kB / 0.7898 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.5077, allocations: 0.6965 MB / 0.7905 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.5078, allocations: 7.719 kB / 0.7905 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.5078, allocations: 13.19 kB / 0.7905 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.5078, allocations: 0 / 0.7905 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.003247/0.511, allocations: 1.414 MB / 0.7919 GB, free: 46.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)