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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 293 MB / 309 MB, free: 4.793 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.001173/0.001173, allocations: 172.6 kB / 378.7 MB, free: 1.031 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.45/1.45, allocations: 205.4 MB / 0.6383 GB, free: 8.152 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.0008295/0.0008296, allocations: 91.38 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005896/0.0005897, allocations: 15.98 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.221, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5514/0.7725, allocations: 138.3 MB / 1.126 GB, free: 35.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.7727, allocations: 71.2 kB / 1.126 GB, free: 35.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002161/0.7749, allocations: 0.9625 MB / 1.127 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7749, allocations: 1.5 kB / 1.127 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.7749, allocations: 0 / 1.127 GB, free: 34.46 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.0001995/0.7752, allocations: 315 kB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7752, allocations: 14.25 kB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.7753, allocations: 11.73 kB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.137e-05/0.7754, allocations: 161 kB / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.7754, allocations: 4.375 kB / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.7754, allocations: 4.672 kB / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.7756, allocations: 41.77 kB / 1.127 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7756, allocations: 192 / 1.127 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.7756, allocations: 3.938 kB / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7756, allocations: 1.031 kB / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.7757, allocations: 19.47 kB / 1.127 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.7758, allocations: 154.6 kB / 1.127 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.7759, allocations: 45.12 kB / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.776, allocations: 12.3 kB / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.776, allocations: 0 / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.776, allocations: 45.91 kB / 1.127 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.776, allocations: 0 / 1.127 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001851/0.7762, allocations: 54.25 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.7763, allocations: 55.41 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.952e-05/0.7763, allocations: 97.8 kB / 1.128 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.7763, allocations: 26.36 kB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.207e-05/0.7763, allocations: 80.14 kB / 1.128 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.7764, allocations: 12.44 kB / 1.128 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.7764, allocations: 0 / 1.128 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.7764, allocations: 314.3 kB / 1.128 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.7765, allocations: 4 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.7765, allocations: 11.38 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.7766, allocations: 34.38 kB / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7766, allocations: 0 / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.454e-05/0.7767, allocations: 45.31 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7767, allocations: 6.031 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.7767, allocations: 0 / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7767, allocations: 7.5 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.7771, allocations: 42.86 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/0.778, allocations: 1.308 MB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.7781, allocations: 3.906 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.7781, allocations: 1.312 kB / 1.129 GB, free: 31.34 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.468e-05/0.7781, allocations: 109.8 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.7782, allocations: 8.031 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.7782, allocations: 8.531 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7782, allocations: 0 / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.7782, allocations: 0 / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7782, allocations: 3.703 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.996e-05/0.7783, allocations: 154.2 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7783, allocations: 0 / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.7786, allocations: 56.47 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7786, allocations: 0.5625 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.7786, allocations: 0 / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007727/0.7794, allocations: 1.311 MB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7794, allocations: 0 / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.7795, allocations: 81.09 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.7795, allocations: 81.11 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-06/0.7796, allocations: 0 / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.7796, allocations: 5.125 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.7796, allocations: 0 / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.7796, allocations: 7.5 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.7796, allocations: 75.28 kB / 1.131 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7797, allocations: 4 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001778/0.7798, allocations: 5.031 kB / 1.131 GB, free: 29.3 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.0001135/0.78, allocations: 103.2 kB / 1.131 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.7804, allocations: 65.64 kB / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7804, allocations: 0 / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.7806, allocations: 41.88 kB / 1.131 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.7808, allocations: 0.8594 kB / 1.131 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.7811, allocations: 92.42 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.7812, allocations: 0.6772 MB / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.7813, allocations: 4 kB / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.7813, allocations: 7.438 kB / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.7813, allocations: 0 / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.002123/0.7834, allocations: 384.4 kB / 1.133 GB, free: 28.08 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)