Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 293 MB / 309 MB, free: 4.812 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.0008858/0.0008858, allocations: 172.2 kB / 378.7 MB, free: 1.035 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.49/1.49, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007112/0.0007112, allocations: 91.64 kB / 0.7527 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2098, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6322/0.8421, allocations: 139.1 MB / 1.126 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.8424, allocations: 84.64 kB / 1.126 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.8538, allocations: 4.563 MB / 1.131 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8539, allocations: 0 / 1.131 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.8539, allocations: 0 / 1.131 GB, free: 31.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002924/0.8542, allocations: 362.5 kB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.8542, allocations: 8.969 kB / 1.131 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.8543, allocations: 2.281 kB / 1.131 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.019e-05/0.8544, allocations: 165 kB / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.8544, allocations: 384 / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.8544, allocations: 4.375 kB / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/0.8545, allocations: 33.69 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.8545, allocations: 192 / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8545, allocations: 4.438 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.8545, allocations: 4 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.8546, allocations: 4 kB / 1.131 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.8547, allocations: 161.7 kB / 1.132 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/0.8548, allocations: 23.86 kB / 1.132 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.8548, allocations: 12.92 kB / 1.132 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.8553, allocations: 454.6 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.8553, allocations: 34.77 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8553, allocations: 0 / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004726/0.8558, allocations: 257.5 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.8558, allocations: 52.44 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.365e-05/0.8559, allocations: 89.86 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.8559, allocations: 29.7 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.8559, allocations: 84.12 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.8559, allocations: 15.19 kB / 1.133 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.856, allocations: 256 / 1.133 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.856, allocations: 314.8 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.856, allocations: 11.94 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.8561, allocations: 17.05 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.8561, allocations: 25.72 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.8561, allocations: 0 / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.966e-05/0.8562, allocations: 57.84 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8562, allocations: 7.938 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.8562, allocations: 3.938 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.8563, allocations: 4 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.8563, allocations: 4 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.8563, allocations: 3.422 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.8564, allocations: 4.625 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.8564, allocations: 4 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.815e-05/0.8564, allocations: 109.8 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.8565, allocations: 12.91 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.8566, allocations: 61.02 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8566, allocations: 0 / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8566, allocations: 0 / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8566, allocations: 0.5625 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.348e-05/0.8567, allocations: 150.2 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8567, allocations: 0 / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.8568, allocations: 4.5 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8568, allocations: 3.938 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8568, allocations: 12 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8568, allocations: 0 / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8568, allocations: 0.5 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.8569, allocations: 77 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.857, allocations: 82 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.857, allocations: 11.97 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.857, allocations: 0.875 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.857, allocations: 8.516 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.857, allocations: 4 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.8571, allocations: 75.28 kB / 1.134 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8571, allocations: 0 / 1.134 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002356/0.8573, allocations: 27.94 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001992/0.8575, allocations: 138.7 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.8576, allocations: 19.55 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8576, allocations: 8.156 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.8576, allocations: 8 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.8578, allocations: 8.547 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.858, allocations: 109 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.8581, allocations: 0.6731 MB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.8582, allocations: 9.438 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.8582, allocations: 15.44 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.8582, allocations: 0 / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.002846/0.861, allocations: 0.814 MB / 1.135 GB, free: 26.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)