Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.0009876, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.692/1.692, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005942/0.0005946, allocations: 16 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6871/0.6877, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008136/0.6886, allocations: 317.3 kB / 0.7283 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000647/0.6893, allocations: 304.8 kB / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.6893, allocations: 0 / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.6893, allocations: 0 / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.6893, allocations: 0 / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.6897, allocations: 59.8 kB / 0.7286 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.399e-05/0.6897, allocations: 4 kB / 0.7286 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.6898, allocations: 3.984 kB / 0.7286 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.6898, allocations: 8 kB / 0.7286 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.6899, allocations: 3.938 kB / 0.7286 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.6899, allocations: 0 / 0.7286 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.6903, allocations: 255.7 kB / 0.7289 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.6903, allocations: 0 / 0.7289 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.6903, allocations: 25.7 kB / 0.7289 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.6904, allocations: 55.91 kB / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6904, allocations: 0 / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6905, allocations: 0 / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6905, allocations: 0 / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000326/0.6908, allocations: 339.4 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6908, allocations: 8.031 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.6909, allocations: 7.891 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.573e-05/0.691, allocations: 167 kB / 0.7295 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.691, allocations: 0 / 0.7295 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.691, allocations: 0 / 0.7295 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.6912, allocations: 29.69 kB / 0.7295 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.6912, allocations: 0 / 0.7295 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.6912, allocations: 0 / 0.7295 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6912, allocations: 8 kB / 0.7295 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.6912, allocations: 7.875 kB / 0.7295 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.6914, allocations: 149.6 kB / 0.7297 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.811e-05/0.6914, allocations: 22.61 kB / 0.7297 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/0.692, allocations: 421.6 kB / 0.7301 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.692, allocations: 38.56 kB / 0.7301 GB, free: 8.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.692, allocations: 0 / 0.7301 GB, free: 8.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001715/0.6922, allocations: 37.62 kB / 0.7301 GB, free: 8.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.6922, allocations: 51.41 kB / 0.7302 GB, free: 8.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.6923, allocations: 89.86 kB / 0.7303 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6923, allocations: 25.7 kB / 0.7303 GB, free: 8.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.6923, allocations: 84.14 kB / 0.7304 GB, free: 8.668 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.6924, allocations: 4.125 kB / 0.7304 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.6924, allocations: 0 / 0.7304 GB, free: 8.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6925, allocations: 314.8 kB / 0.7307 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.6925, allocations: 0 / 0.7307 GB, free: 8.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.6925, allocations: 0 / 0.7307 GB, free: 8.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/0.6926, allocations: 4 kB / 0.7307 GB, free: 8.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6926, allocations: 0 / 0.7307 GB, free: 8.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.407e-05/0.6926, allocations: 41.58 kB / 0.7307 GB, free: 8.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6927, allocations: 8.094 kB / 0.7307 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6927, allocations: 4 kB / 0.7307 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6927, allocations: 4 kB / 0.7308 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.6927, allocations: 3.938 kB / 0.7308 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6927, allocations: 0 / 0.7308 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.6928, allocations: 0 / 0.7308 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6928, allocations: 4 kB / 0.7308 GB, free: 8.273 MB / 0.545 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 (1): * Single equations (assignments): 1 * 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.203e-05/0.6928, allocations: 105.8 kB / 0.7309 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.6929, allocations: 3.953 kB / 0.7309 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.693, allocations: 44.81 kB / 0.7309 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.693, allocations: 4 kB / 0.7309 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.693, allocations: 0 / 0.7309 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.693, allocations: 0 / 0.7309 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.6931, allocations: 145.7 kB / 0.731 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6931, allocations: 3.938 kB / 0.7311 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.6931, allocations: 4 kB / 0.7311 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6932, allocations: 3.953 kB / 0.7311 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.6932, allocations: 0 / 0.7311 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6932, allocations: 0 / 0.7311 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6932, allocations: 4.031 kB / 0.7311 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.057e-05/0.6933, allocations: 61.12 kB / 0.7311 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.6933, allocations: 79.08 kB / 0.7312 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.6933, allocations: 3.953 kB / 0.7312 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.6933, allocations: 3.938 kB / 0.7312 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.6934, allocations: 0 / 0.7312 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.6934, allocations: 0 / 0.7312 GB, free: 7.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.6934, allocations: 83.31 kB / 0.7313 GB, free: 7.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6934, allocations: 0 / 0.7313 GB, free: 7.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001865/0.6936, allocations: 8 kB / 0.7313 GB, free: 7.625 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001837/0.6938, allocations: 114.5 kB / 0.7314 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.46e-05/0.6939, allocations: 11.94 kB / 0.7314 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6939, allocations: 0 / 0.7314 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-06/0.6939, allocations: 4 kB / 0.7314 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.694, allocations: 7.219 kB / 0.7314 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.6942, allocations: 74.7 kB / 0.7315 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.6945, allocations: 0.677 MB / 0.7322 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.6945, allocations: 3.984 kB / 0.7322 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.6945, allocations: 11.44 kB / 0.7322 GB, free: 6.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.6945, allocations: 0 / 0.7322 GB, free: 6.668 MB / 0.545 GB Notification: Performance of Templates: time 0.002537/0.6971, allocations: 435.6 kB / 0.7326 GB, free: 6.242 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: