Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.6 MB / 307.5 MB, free: 5.25 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.001218/0.001218, allocations: 185 kB / 377.1 MB, free: 1.535 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.518/1.518, allocations: 205.4 MB / 0.6367 GB, free: 8.523 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.0007965/0.0007963, allocations: 93.98 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2606, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.702/0.9627, allocations: 138.3 MB / 1.123 GB, free: 36.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.963, allocations: 72.11 kB / 1.123 GB, free: 36.08 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002282/0.9653, allocations: 0.9526 MB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9654, allocations: 0.9062 kB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.9654, allocations: 0 / 1.124 GB, free: 35.32 MB / 0.7292 GB 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.0002538/0.9656, allocations: 317.8 kB / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9657, allocations: 8.031 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.9658, allocations: 12.86 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.9659, allocations: 167 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.966, allocations: 0 / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.966, allocations: 5.281 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.9661, allocations: 37.31 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.9661, allocations: 0 / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.9662, allocations: 6.062 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.9662, allocations: 0 / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.9662, allocations: 16.02 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.9664, allocations: 155 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.9665, allocations: 48.48 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.9666, allocations: 1.031 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.9666, allocations: 30.56 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.9666, allocations: 4 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/0.9668, allocations: 56.45 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.9668, allocations: 51.41 kB / 1.125 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.905e-05/0.9669, allocations: 85.66 kB / 1.125 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.9669, allocations: 29.7 kB / 1.125 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.598e-05/0.9669, allocations: 83.61 kB / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.9669, allocations: 16.38 kB / 1.125 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.9669, allocations: 0 / 1.125 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.967, allocations: 318.8 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.967, allocations: 11.56 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.9671, allocations: 4.562 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.9671, allocations: 8.031 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9671, allocations: 0 / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.213e-05/0.9672, allocations: 49.27 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9673, allocations: 4 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9673, allocations: 4 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.9673, allocations: 5.125 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.9676, allocations: 37.7 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009821/0.9686, allocations: 1.328 MB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.9687, allocations: 3.906 kB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.9687, allocations: 0 / 1.127 GB, free: 32.25 MB / 0.7292 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 (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 5.545e-05/0.9688, allocations: 109.8 kB / 1.127 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.9688, allocations: 4.609 kB / 1.127 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.9688, allocations: 8.156 kB / 1.127 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9688, allocations: 0 / 1.127 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9688, allocations: 3.422 kB / 1.127 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9688, allocations: 4.5 kB / 1.127 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.997e-05/0.9689, allocations: 153.8 kB / 1.127 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9689, allocations: 0 / 1.127 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.9692, allocations: 49.92 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.9692, allocations: 4.562 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.9692, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000855/0.9701, allocations: 1.316 MB / 1.129 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9701, allocations: 0 / 1.129 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.9702, allocations: 76.3 kB / 1.129 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.9703, allocations: 77.61 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.9703, allocations: 4.703 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.9703, allocations: 4 kB / 1.129 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.9703, allocations: 7.562 kB / 1.129 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.9704, allocations: 0.9375 kB / 1.129 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.143e-05/0.9704, allocations: 75.28 kB / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.9704, allocations: 0 / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001814/0.9706, allocations: 4.656 kB / 1.129 GB, free: 30.21 MB / 0.7292 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 (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.0001203/0.9707, allocations: 95.25 kB / 1.129 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.9711, allocations: 69.2 kB / 1.129 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9711, allocations: 0 / 1.129 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.9713, allocations: 26.94 kB / 1.129 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.905e-05/0.9714, allocations: 9.875 kB / 1.129 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.9717, allocations: 92.41 kB / 1.129 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.9719, allocations: 0.6771 MB / 1.13 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.9719, allocations: 4 kB / 1.13 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.972, allocations: 11.44 kB / 1.13 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.972, allocations: 4 kB / 1.13 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.002512/0.9745, allocations: 381.2 kB / 1.13 GB, free: 29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)