Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.3 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 183.5 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009887/0.000989, allocations: 94.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 13.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8127/1.064, allocations: 138.2 MB / 1.114 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.064, allocations: 78.47 kB / 1.114 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01327/1.078, allocations: 5.073 MB / 1.119 GB, free: 31.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.078, allocations: 0 / 1.119 GB, free: 31.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.078, allocations: 0 / 1.119 GB, free: 31.74 MB / 0.698 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.0004073/1.078, allocations: 363.3 kB / 1.12 GB, free: 31.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.078, allocations: 15.67 kB / 1.12 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/1.078, allocations: 11.69 kB / 1.12 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/1.078, allocations: 170.1 kB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.078, allocations: 7 kB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/1.078, allocations: 3.938 kB / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/1.079, allocations: 46.7 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.079, allocations: 0 / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.079, allocations: 3.875 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.079, allocations: 3.094 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/1.079, allocations: 20.81 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/1.079, allocations: 169.1 kB / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/1.079, allocations: 57.31 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/1.079, allocations: 463.7 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.08, allocations: 37.97 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/1.08, allocations: 0 / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001202/1.081, allocations: 0.5951 MB / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.081, allocations: 51.41 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/1.081, allocations: 95.12 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.081, allocations: 25.7 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/1.081, allocations: 86.89 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/1.081, allocations: 33.27 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/1.081, allocations: 3.375 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.081, allocations: 320.8 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/1.081, allocations: 18.02 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/1.081, allocations: 21.44 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/1.081, allocations: 29.36 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/1.081, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001326/1.081, allocations: 105.8 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.081, allocations: 3.844 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.081, allocations: 0 / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.081, allocations: 0 / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.082, allocations: 22.61 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.082, allocations: 4 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/1.082, allocations: 0 / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/1.082, allocations: 9.906 kB / 1.122 GB, free: 29.26 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/1.082, allocations: 121.7 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/1.082, allocations: 3.875 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/1.082, allocations: 108.8 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.082, allocations: 3.875 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.082, allocations: 0 / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.082, allocations: 4 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/1.082, allocations: 363.6 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.082, allocations: 4 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/1.082, allocations: 22.12 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.082, allocations: 0 / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.082, allocations: 0 / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.082, allocations: 0 / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.082, allocations: 0 / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/1.083, allocations: 222.1 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/1.083, allocations: 88.41 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/1.083, allocations: 7.406 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/1.083, allocations: 2.719 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/1.083, allocations: 10.83 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/1.083, allocations: 7.188 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.934e-05/1.083, allocations: 75.28 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.083, allocations: 0 / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002603/1.083, allocations: 61.05 kB / 1.123 GB, free: 28.44 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/1.083, allocations: 158.8 kB / 1.123 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001239/1.084, allocations: 59.17 kB / 1.123 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.084, allocations: 0 / 1.123 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/1.084, allocations: 34.5 kB / 1.123 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/1.084, allocations: 16.53 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/1.084, allocations: 193.2 kB / 1.124 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/1.084, allocations: 0.6893 MB / 1.124 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.987e-05/1.084, allocations: 11.95 kB / 1.124 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/1.084, allocations: 14.81 kB / 1.124 GB, free: 27.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.084, allocations: 0 / 1.124 GB, free: 27.46 MB / 0.698 GB Notification: Performance of Templates: time 0.003547/1.088, allocations: 1.292 MB / 1.126 GB, free: 27.39 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)