Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5673/0.5673, allocations: 94.7 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001249/0.001249, allocations: 174.3 kB / 130.7 MB, free: 7.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.528/1.528, allocations: 170.5 MB / 324.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001625/0.001625, allocations: 108 kB / 386.6 MB, free: 16.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.118e-05/6.119e-05, allocations: 7.938 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4363, allocations: 61.51 MB / 0.5054 GB, free: 49.44 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5753, allocations: 93.49 MB / 0.5967 GB, free: 2.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5756, allocations: 79.48 kB / 0.5968 GB, free: 2.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009514/0.5851, allocations: 3.481 MB / 0.6002 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5852, allocations: 3.938 kB / 0.6002 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.5852, allocations: 0.9375 kB / 0.6002 GB, free: 14.59 MB / 426.7 MB 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.0002606/0.5854, allocations: 346.2 kB / 0.6005 GB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5855, allocations: 8.031 kB / 0.6005 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.5855, allocations: 0 / 0.6005 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.5856, allocations: 159.1 kB / 0.6007 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.5857, allocations: 4 kB / 0.6007 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.5857, allocations: 0.5156 kB / 0.6007 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.5858, allocations: 34.14 kB / 0.6007 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.5858, allocations: 1.188 kB / 0.6007 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.5858, allocations: 0 / 0.6007 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5858, allocations: 4 kB / 0.6007 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.5858, allocations: 2 kB / 0.6007 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.586, allocations: 146.8 kB / 0.6008 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.5861, allocations: 22.55 kB / 0.6009 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.5861, allocations: 5.734 kB / 0.6009 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/0.5865, allocations: 427.5 kB / 0.6013 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5866, allocations: 35.55 kB / 0.6013 GB, free: 13.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.5866, allocations: 0 / 0.6013 GB, free: 13.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.5868, allocations: 37.64 kB / 0.6014 GB, free: 13.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.5868, allocations: 52.22 kB / 0.6014 GB, free: 13.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.997e-05/0.5869, allocations: 90.78 kB / 0.6015 GB, free: 12.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.5869, allocations: 29.7 kB / 0.6015 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.5869, allocations: 84.14 kB / 0.6016 GB, free: 12.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.587, allocations: 0 / 0.6016 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.587, allocations: 0 / 0.6016 GB, free: 12.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5871, allocations: 314.7 kB / 0.6019 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.5871, allocations: 0 / 0.6019 GB, free: 12.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.5872, allocations: 4.562 kB / 0.6019 GB, free: 12.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.5872, allocations: 0 / 0.6019 GB, free: 12.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5872, allocations: 0 / 0.6019 GB, free: 12.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.799e-05/0.5873, allocations: 38.25 kB / 0.6019 GB, free: 12.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5873, allocations: 8 kB / 0.6019 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5873, allocations: 0 / 0.6019 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5873, allocations: 5.125 kB / 0.6019 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.5874, allocations: 0 / 0.6019 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5874, allocations: 9.828 kB / 0.602 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-06/0.5874, allocations: 0 / 0.602 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.5874, allocations: 0 / 0.602 GB, free: 12.49 MB / 426.7 MB 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 (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.394e-05/0.5875, allocations: 109.7 kB / 0.6021 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.5875, allocations: 4 kB / 0.6021 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.5876, allocations: 53.17 kB / 0.6021 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5876, allocations: 0 / 0.6021 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5876, allocations: 0 / 0.6021 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5877, allocations: 5.078 kB / 0.6021 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.5878, allocations: 145.7 kB / 0.6023 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5878, allocations: 3.984 kB / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.5878, allocations: 4.594 kB / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5878, allocations: 0.875 kB / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.5878, allocations: 0 / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5878, allocations: 0 / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5878, allocations: 1.719 kB / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.5879, allocations: 67.19 kB / 0.6023 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.588, allocations: 81.84 kB / 0.6024 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.588, allocations: 0 / 0.6024 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/0.588, allocations: 0 / 0.6024 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.588, allocations: 0 / 0.6024 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.588, allocations: 4 kB / 0.6024 GB, free: 11.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.5881, allocations: 79.47 kB / 0.6025 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5881, allocations: 0 / 0.6025 GB, free: 11.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.5883, allocations: 12 kB / 0.6025 GB, free: 11.85 MB / 426.7 MB 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 () * 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.000178/0.5885, allocations: 121 kB / 0.6026 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.665e-05/0.5885, allocations: 8 kB / 0.6026 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5885, allocations: 0 / 0.6026 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.5886, allocations: 7.938 kB / 0.6026 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.007e-05/0.5886, allocations: 128 / 0.6026 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.5888, allocations: 49 kB / 0.6027 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.5891, allocations: 0.677 MB / 0.6033 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.5891, allocations: 0 / 0.6033 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.5891, allocations: 7.438 kB / 0.6034 GB, free: 10.93 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5891, allocations: 0 / 0.6034 GB, free: 10.93 MB / 426.7 MB Notification: Performance of Templates: time 0.002145/0.5913, allocations: 428.1 kB / 0.6038 GB, free: 10.54 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)