Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.578/0.578, allocations: 95.62 MB / 110.6 MB, free: 9.363 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.001366/0.001366, allocations: 159.6 kB / 134.2 MB, free: 2.262 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.578/1.578, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001665/0.001665, allocations: 107.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 16 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 61.53 MB / 0.512 GB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.5255, allocations: 93.13 MB / 0.6029 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5258, allocations: 78.31 kB / 0.603 GB, free: 14.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0024/0.5282, allocations: 0.9391 MB / 0.6039 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5282, allocations: 0 / 0.6039 GB, free: 13.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.5282, allocations: 0 / 0.6039 GB, free: 13.23 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002662/0.5285, allocations: 318.2 kB / 0.6042 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5286, allocations: 11.98 kB / 0.6042 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.5287, allocations: 17.86 kB / 0.6042 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.64e-05/0.5288, allocations: 163 kB / 0.6044 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.5289, allocations: 0 / 0.6044 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.5289, allocations: 0 / 0.6044 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.529, allocations: 49.38 kB / 0.6045 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.529, allocations: 0 / 0.6045 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.529, allocations: 0 / 0.6045 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.529, allocations: 0 / 0.6045 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.5291, allocations: 15.23 kB / 0.6045 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.5293, allocations: 157.5 kB / 0.6046 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.5294, allocations: 46.34 kB / 0.6047 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5295, allocations: 0 / 0.6047 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.5295, allocations: 34.5 kB / 0.6047 GB, free: 12.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.5295, allocations: 0 / 0.6047 GB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001967/0.5297, allocations: 61.28 kB / 0.6048 GB, free: 12.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.5298, allocations: 58.16 kB / 0.6048 GB, free: 12.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.5298, allocations: 85 kB / 0.6049 GB, free: 12.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5298, allocations: 29.7 kB / 0.6049 GB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.5299, allocations: 80.14 kB / 0.605 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.5299, allocations: 4.531 kB / 0.605 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5299, allocations: 3 kB / 0.605 GB, free: 11.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5301, allocations: 314.8 kB / 0.6053 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.5301, allocations: 7.984 kB / 0.6053 GB, free: 11.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.5301, allocations: 7.062 kB / 0.6053 GB, free: 11.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.5302, allocations: 7.984 kB / 0.6053 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5302, allocations: 0 / 0.6053 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001058/0.5303, allocations: 48.78 kB / 0.6054 GB, free: 11.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5303, allocations: 8 kB / 0.6054 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5303, allocations: 0.7812 kB / 0.6054 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5304, allocations: 0 / 0.6054 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.5307, allocations: 51.05 kB / 0.6054 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.532, allocations: 1.322 MB / 0.6067 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.5321, allocations: 8.188 kB / 0.6067 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5321, allocations: 0 / 0.6067 GB, free: 10.07 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/0.5322, allocations: 117.8 kB / 0.6068 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.5322, allocations: 7.891 kB / 0.6068 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.5322, allocations: 6.625 kB / 0.6068 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5323, allocations: 0 / 0.6068 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5323, allocations: 3.953 kB / 0.6069 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5323, allocations: 0 / 0.6069 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.5324, allocations: 153.2 kB / 0.607 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5324, allocations: 4 kB / 0.607 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.5327, allocations: 43.94 kB / 0.607 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5327, allocations: 0 / 0.607 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5328, allocations: 3.984 kB / 0.607 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.5339, allocations: 1.311 MB / 0.6083 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5339, allocations: 3.953 kB / 0.6083 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.5341, allocations: 75.7 kB / 0.6084 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.5341, allocations: 81.05 kB / 0.6085 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-06/0.5341, allocations: 0 / 0.6085 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.704e-05/0.5342, allocations: 4.188 kB / 0.6085 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.5342, allocations: 7.984 kB / 0.6085 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.5342, allocations: 7.953 kB / 0.6085 GB, free: 8.047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.5342, allocations: 75.28 kB / 0.6086 GB, free: 7.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5342, allocations: 0 / 0.6086 GB, free: 7.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.5344, allocations: 7 kB / 0.6086 GB, free: 7.969 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.5345, allocations: 99.19 kB / 0.6087 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.5349, allocations: 55.3 kB / 0.6087 GB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.535, allocations: 0 / 0.6087 GB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.5352, allocations: 27.97 kB / 0.6088 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.958e-05/0.5353, allocations: 4 kB / 0.6088 GB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.5355, allocations: 94.78 kB / 0.6088 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5358, allocations: 0.677 MB / 0.6095 GB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.5359, allocations: 12.16 kB / 0.6095 GB, free: 6.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.5359, allocations: 11.42 kB / 0.6095 GB, free: 6.938 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5359, allocations: 0 / 0.6095 GB, free: 6.938 MB / 410.7 MB Notification: Performance of Templates: time 0.002031/0.538, allocations: 383.4 kB / 0.6099 GB, free: 6.578 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)