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.592/1.592, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.00111/0.00111, allocations: 179.6 kB / 371.6 MB, free: 3.41 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.942/1.942, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0008819/0.0008814, allocations: 96.94 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.285e-05, allocations: 8 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9735/1.268, allocations: 138.2 MB / 1.115 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.268, allocations: 75.52 kB / 1.115 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00222/1.271, allocations: 0.9393 MB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.013e-06/1.271, allocations: 0.75 kB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.271, allocations: 0 / 1.116 GB, free: 44.54 MB / 0.7448 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.0002605/1.271, allocations: 318.8 kB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.271, allocations: 12 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/1.271, allocations: 13.47 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/1.271, allocations: 159.1 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/1.271, allocations: 1.25 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/1.271, allocations: 7.266 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/1.271, allocations: 37.02 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.271, allocations: 1.156 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.271, allocations: 0.5312 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.271, allocations: 0.5 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/1.272, allocations: 8 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/1.272, allocations: 170.1 kB / 1.116 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/1.272, allocations: 34.89 kB / 1.116 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/1.272, allocations: 9.922 kB / 1.116 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/1.272, allocations: 0.5156 kB / 1.116 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.272, allocations: 38.94 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.272, allocations: 0.5625 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001499/1.272, allocations: 45.72 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.272, allocations: 52.25 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.649e-05/1.272, allocations: 85 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.272, allocations: 30.73 kB / 1.117 GB, free: 43.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/1.272, allocations: 80.14 kB / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.272, allocations: 15.83 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/1.272, allocations: 0 / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/1.272, allocations: 314.2 kB / 1.117 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/1.272, allocations: 4 kB / 1.117 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/1.272, allocations: 4 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/1.272, allocations: 7.625 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.272, allocations: 0.6562 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.726e-05/1.273, allocations: 43.91 kB / 1.117 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.273, allocations: 10.59 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.273, allocations: 7.328 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.273, allocations: 4.406 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/1.273, allocations: 45.44 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008515/1.274, allocations: 1.279 MB / 1.118 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/1.274, allocations: 8.031 kB / 1.118 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/1.274, allocations: 0 / 1.118 GB, free: 41.55 MB / 0.7448 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 () * 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.76e-05/1.274, allocations: 112.4 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/1.274, allocations: 4.797 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-06/1.274, allocations: 3.5 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/1.274, allocations: 0 / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.274, allocations: 0.625 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.274, allocations: 8.094 kB / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.47e-05/1.274, allocations: 148.9 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.274, allocations: 0 / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.274, allocations: 45.77 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.274, allocations: 3.953 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.274, allocations: 8.172 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006651/1.275, allocations: 1.289 MB / 1.12 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.275, allocations: 4.922 kB / 1.12 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/1.275, allocations: 67.7 kB / 1.12 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/1.275, allocations: 81.06 kB / 1.12 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-06/1.275, allocations: 0 / 1.12 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/1.275, allocations: 0 / 1.12 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/1.275, allocations: 8.766 kB / 1.12 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/1.275, allocations: 4.094 kB / 1.12 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.124e-05/1.275, allocations: 75.28 kB / 1.12 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.275, allocations: 0 / 1.12 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001642/1.276, allocations: 7.188 kB / 1.12 GB, free: 39.56 MB / 0.7448 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 () * 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.0001372/1.276, allocations: 100.8 kB / 1.12 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003585/1.276, allocations: 52 kB / 1.12 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.276, allocations: 0 / 1.12 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/1.276, allocations: 30.28 kB / 1.12 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.894e-05/1.276, allocations: 4.781 kB / 1.12 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/1.277, allocations: 54.53 kB / 1.121 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/1.277, allocations: 0.6843 MB / 1.121 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.86e-05/1.277, allocations: 4 kB / 1.121 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/1.277, allocations: 10.88 kB / 1.121 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.277, allocations: 0 / 1.121 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.002506/1.279, allocations: 386.2 kB / 1.122 GB, free: 38.41 MB / 0.7448 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)