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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001054/0.001054, allocations: 180.2 kB / 371.6 MB, free: 3.43 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.593/1.593, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009338/0.000934, allocations: 89.56 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.961e-05/5.963e-05, allocations: 8 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3339, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.401, allocations: 139.1 MB / 1.116 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.401, allocations: 76.61 kB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01449/1.416, allocations: 5.076 MB / 1.121 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.535e-06/1.416, allocations: 0 / 1.121 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.416, allocations: 0 / 1.121 GB, free: 41.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003343/1.416, allocations: 361 kB / 1.121 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.416, allocations: 12.03 kB / 1.121 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/1.416, allocations: 3.75 kB / 1.121 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.416, allocations: 171 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.416, allocations: 0 / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/1.416, allocations: 13.23 kB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/1.417, allocations: 44.97 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.417, allocations: 0 / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.417, allocations: 0 / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/1.417, allocations: 4.406 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.732e-05/1.417, allocations: 23.12 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/1.417, allocations: 169.9 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.417, allocations: 51.95 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/1.417, allocations: 30.28 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/1.418, allocations: 459 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.418, allocations: 45.88 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/1.418, allocations: 0 / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001067/1.419, allocations: 0.5595 MB / 1.123 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/1.419, allocations: 58.84 kB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/1.419, allocations: 89.38 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/1.419, allocations: 33.77 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/1.419, allocations: 80.14 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/1.419, allocations: 34.36 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/1.419, allocations: 3.25 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/1.419, allocations: 325.7 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/1.419, allocations: 19.38 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/1.419, allocations: 18.31 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/1.419, allocations: 25.66 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/1.419, allocations: 0.8438 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/1.419, allocations: 90.56 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.419, allocations: 8 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.419, allocations: 0 / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.419, allocations: 0 / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/1.419, allocations: 31.81 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.419, allocations: 3.938 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/1.419, allocations: 4 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/1.419, allocations: 0 / 1.123 GB, free: 38.85 MB / 0.7448 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 () * 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.388e-05/1.42, allocations: 113.7 kB / 1.123 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.42, allocations: 7.906 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/1.42, allocations: 102.4 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.42, allocations: 4 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.42, allocations: 4 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.42, allocations: 0 / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/1.42, allocations: 353.6 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.42, allocations: 0 / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.42, allocations: 24.72 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.42, allocations: 4 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.42, allocations: 3.938 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.42, allocations: 0.625 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.42, allocations: 0 / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/1.421, allocations: 218.2 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/1.421, allocations: 95.27 kB / 1.124 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.421, allocations: 0 / 1.124 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/1.421, allocations: 7.75 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/1.421, allocations: 7.422 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/1.421, allocations: 4 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.653e-05/1.421, allocations: 75.28 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.421, allocations: 3.938 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002964/1.421, allocations: 67.28 kB / 1.124 GB, free: 37.82 MB / 0.7448 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 () * 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.0002689/1.422, allocations: 153.7 kB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001396/1.422, allocations: 61.5 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.422, allocations: 0 / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/1.422, allocations: 34.61 kB / 1.125 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/1.422, allocations: 11.08 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/1.422, allocations: 131.3 kB / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/1.422, allocations: 0.6953 MB / 1.125 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.66e-05/1.423, allocations: 17.77 kB / 1.125 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/1.423, allocations: 11.44 kB / 1.125 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of SimCode: time 2.11e-07/1.423, allocations: 0 / 1.125 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.003842/1.426, allocations: 1.304 MB / 1.127 GB, free: 36.02 MB / 0.7448 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)