Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.726/1.726, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 182.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008265, allocations: 95.31 kB / 0.7808 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004798, allocations: 14.75 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8047, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/1.012, allocations: 141.2 MB / 1.164 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.012, allocations: 76.84 kB / 1.164 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01304/1.025, allocations: 4.572 MB / 1.169 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.735e-06/1.025, allocations: 3.938 kB / 1.169 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.025, allocations: 0 / 1.169 GB, free: 14.93 MB / 0.7448 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.0004265/1.026, allocations: 348.9 kB / 1.169 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.026, allocations: 12.72 kB / 1.169 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.026, allocations: 6.281 kB / 1.169 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.026, allocations: 161.6 kB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.026, allocations: 384 / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/1.026, allocations: 1.719 kB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.026, allocations: 36.84 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.026, allocations: 6.5 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.026, allocations: 3.938 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.026, allocations: 0.75 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/1.026, allocations: 0.6562 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/1.026, allocations: 153.5 kB / 1.169 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/1.027, allocations: 24.97 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/1.027, allocations: 10.19 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/1.027, allocations: 460.3 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.027, allocations: 35.22 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/1.027, allocations: 0.7812 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006717/1.028, allocations: 256.5 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.028, allocations: 55.41 kB / 1.17 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/1.028, allocations: 96.22 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/1.028, allocations: 26.48 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/1.028, allocations: 81.67 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.028, allocations: 12.59 kB / 1.17 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/1.028, allocations: 4 kB / 1.17 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.028, allocations: 314 kB / 1.171 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/1.028, allocations: 4.656 kB / 1.171 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.445e-05/1.028, allocations: 23.25 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.81e-05/1.029, allocations: 26.14 kB / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/1.029, allocations: 0 / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/1.029, allocations: 57.17 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.029, allocations: 8.594 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.029, allocations: 4.875 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.029, allocations: 2.062 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/1.029, allocations: 5.359 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.029, allocations: 4 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/1.029, allocations: 0.6562 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.029, allocations: 4 kB / 1.171 GB, free: 12.45 MB / 0.7448 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 7.614e-05/1.029, allocations: 112.8 kB / 1.171 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/1.029, allocations: 4.594 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/1.029, allocations: 55.42 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.029, allocations: 2.094 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.029, allocations: 0 / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.029, allocations: 0.6562 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/1.029, allocations: 154.8 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/1.029, allocations: 1.891 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/1.029, allocations: 8.656 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.029, allocations: 4.5 kB / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/1.029, allocations: 0 / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.029, allocations: 3.219 kB / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.029, allocations: 1.375 kB / 1.171 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/1.03, allocations: 80.17 kB / 1.171 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/1.03, allocations: 84.8 kB / 1.171 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.03, allocations: 4.594 kB / 1.171 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/1.03, allocations: 0.6562 kB / 1.171 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/1.03, allocations: 4.656 kB / 1.171 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/1.03, allocations: 7.266 kB / 1.171 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.921e-05/1.03, allocations: 79.2 kB / 1.171 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.513e-06/1.03, allocations: 0 / 1.171 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002584/1.03, allocations: 37.14 kB / 1.172 GB, free: 11.75 MB / 0.7448 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.0002444/1.03, allocations: 143.7 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001047/1.03, allocations: 14.67 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.03, allocations: 0 / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/1.03, allocations: 9.844 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/1.031, allocations: 13.83 kB / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.031, allocations: 112 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/1.031, allocations: 0.6767 MB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.528e-05/1.031, allocations: 1.641 kB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/1.031, allocations: 12.14 kB / 1.172 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.031, allocations: 0 / 1.172 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.003621/1.035, allocations: 0.8199 MB / 1.173 GB, free: 10.29 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)