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/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 293 MB / 309 MB, free: 4.824 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.000903/0.0009034, allocations: 168.6 kB / 378.7 MB, free: 1.023 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.415/1.415, allocations: 205.4 MB / 0.6383 GB, free: 9.105 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007593/0.0007594, allocations: 92.33 kB / 0.7527 GB, free: 62.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 20 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 116.4 MB / 0.9905 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6418/0.8644, allocations: 139.2 MB / 1.126 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.8647, allocations: 75.53 kB / 1.126 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01231/0.877, allocations: 5.106 MB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/0.877, allocations: 0 / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.877, allocations: 0 / 1.131 GB, free: 31 MB / 0.7292 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.0002929/0.8773, allocations: 363.9 kB / 1.132 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8774, allocations: 8.031 kB / 1.132 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.8774, allocations: 16.72 kB / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.8775, allocations: 167.9 kB / 1.132 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.8775, allocations: 8.266 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.8776, allocations: 4.875 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.8777, allocations: 49.88 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8777, allocations: 192 / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8777, allocations: 3.938 kB / 1.132 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.8777, allocations: 0 / 1.132 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.8778, allocations: 22.84 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.8779, allocations: 165.8 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.878, allocations: 65.41 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.878, allocations: 28.86 kB / 1.132 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.8785, allocations: 457.9 kB / 1.133 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.8785, allocations: 30.8 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.8785, allocations: 4 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001026/0.8795, allocations: 0.5895 MB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.8796, allocations: 58.88 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.8796, allocations: 97.86 kB / 1.134 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.8797, allocations: 29.64 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.8797, allocations: 83.36 kB / 1.134 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.8797, allocations: 42.92 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.8797, allocations: 0 / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.8798, allocations: 322.5 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.8798, allocations: 20 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.8798, allocations: 19.42 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.8799, allocations: 56.28 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.8799, allocations: 0 / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000121/0.8801, allocations: 100.9 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.8801, allocations: 4 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8801, allocations: 4.453 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8801, allocations: 4.75 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.8802, allocations: 19.94 kB / 1.134 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8802, allocations: 0 / 1.134 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.8802, allocations: 16.72 kB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.8803, allocations: 0 / 1.134 GB, free: 27.9 MB / 0.7292 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 5.16e-05/0.8803, allocations: 117.8 kB / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.8803, allocations: 7.938 kB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.8805, allocations: 105.1 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.8805, allocations: 1.078 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8805, allocations: 4.75 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8806, allocations: 0 / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.8808, allocations: 359.1 kB / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8809, allocations: 0 / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.881, allocations: 27.12 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.881, allocations: 0.75 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.881, allocations: 0 / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.881, allocations: 0 / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.881, allocations: 1.031 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.8812, allocations: 217.4 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.8812, allocations: 99.62 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.8813, allocations: 0.5625 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.8813, allocations: 4 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.8814, allocations: 11.41 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.8814, allocations: 4.188 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.932e-05/0.8814, allocations: 83.27 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8814, allocations: 0 / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002731/0.8817, allocations: 59.2 kB / 1.135 GB, free: 26.78 MB / 0.7292 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.0002022/0.8819, allocations: 155.3 kB / 1.135 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.882, allocations: 71.52 kB / 1.135 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.882, allocations: 0 / 1.135 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.8821, allocations: 32.06 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.8823, allocations: 11.94 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.8826, allocations: 183.1 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.8827, allocations: 0.6917 MB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.924e-05/0.8828, allocations: 13.7 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.8828, allocations: 15.38 kB / 1.136 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8828, allocations: 1.031 kB / 1.136 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.003735/0.8865, allocations: 1.321 MB / 1.138 GB, free: 24.85 MB / 0.7292 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)