Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00131/0.00131, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.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.00127/0.00127, allocations: 63.55 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2001, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001636/0.2017, allocations: 0.6548 MB / 0.7833 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006077/0.2023, allocations: 354.9 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-06/0.2024, allocations: 0 / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2024, allocations: 0 / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-06/0.2024, allocations: 0 / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.2027, allocations: 75.05 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.053e-05/0.2027, allocations: 7.984 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.2028, allocations: 0 / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.253e-05/0.2028, allocations: 4 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.648e-05/0.2028, allocations: 3.938 kB / 0.7837 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.2028, allocations: 0 / 0.7837 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.2032, allocations: 271.7 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2032, allocations: 3.984 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.2032, allocations: 4 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2034, allocations: 79.86 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2034, allocations: 4 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2034, allocations: 0 / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2034, allocations: 4 kB / 0.7841 GB, free: 12.54 MB / 0.6075 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.0002836/0.2037, allocations: 327.6 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2037, allocations: 8.031 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.2038, allocations: 0.9375 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.2038, allocations: 164.4 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2039, allocations: 8.312 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.2039, allocations: 384 / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.204, allocations: 26.27 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.204, allocations: 4.188 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.204, allocations: 7.938 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.204, allocations: 0 / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.204, allocations: 7.938 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.2041, allocations: 145.7 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.2042, allocations: 22.55 kB / 0.7848 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.2042, allocations: 4.859 kB / 0.7848 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.2047, allocations: 429.6 kB / 0.7852 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2047, allocations: 30.56 kB / 0.7852 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2047, allocations: 0 / 0.7852 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.2049, allocations: 37.64 kB / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.2049, allocations: 55.41 kB / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.929e-05/0.205, allocations: 97.97 kB / 0.7854 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.205, allocations: 25.7 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.205, allocations: 80.14 kB / 0.7855 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.2051, allocations: 3.906 kB / 0.7855 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.2051, allocations: 9.719 kB / 0.7855 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.2052, allocations: 314.8 kB / 0.7858 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.2052, allocations: 7.938 kB / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.2052, allocations: 0 / 0.7858 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.2052, allocations: 12.92 kB / 0.7858 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2053, allocations: 0 / 0.7858 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.165e-05/0.2053, allocations: 37.62 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2054, allocations: 8 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2054, allocations: 0 / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2054, allocations: 3.938 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.2054, allocations: 0 / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2054, allocations: 0 / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.2054, allocations: 4 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.2055, allocations: 7.969 kB / 0.7859 GB, free: 10.37 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.2055, allocations: 106.5 kB / 0.786 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.2055, allocations: 4 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.2056, allocations: 40.75 kB / 0.786 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2056, allocations: 4 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2056, allocations: 0 / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2057, allocations: 3.984 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.083e-05/0.2057, allocations: 141.7 kB / 0.7862 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2057, allocations: 7.969 kB / 0.7862 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.2058, allocations: 7.984 kB / 0.7862 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2058, allocations: 0 / 0.7862 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2058, allocations: 3.938 kB / 0.7862 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2058, allocations: 4 kB / 0.7862 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2058, allocations: 0 / 0.7862 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.681e-05/0.2059, allocations: 61.08 kB / 0.7863 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.2059, allocations: 77.42 kB / 0.7863 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2059, allocations: 11.92 kB / 0.7864 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.2059, allocations: 0 / 0.7864 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.206, allocations: 0 / 0.7864 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.206, allocations: 4 kB / 0.7864 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.206, allocations: 76.34 kB / 0.7864 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.206, allocations: 0 / 0.7864 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000201/0.2062, allocations: 12 kB / 0.7864 GB, free: 9.711 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.2064, allocations: 119.2 kB / 0.7866 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.055e-05/0.2065, allocations: 8 kB / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2065, allocations: 0 / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.2065, allocations: 3.938 kB / 0.7866 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.2066, allocations: 7.938 kB / 0.7866 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001562/0.2068, allocations: 74.7 kB / 0.7867 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.207, allocations: 0.6692 MB / 0.7873 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.207, allocations: 12.09 kB / 0.7873 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.2071, allocations: 15.44 kB / 0.7873 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2071, allocations: 0 / 0.7873 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.002267/0.2093, allocations: 450.5 kB / 0.7878 GB, free: 8.305 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)