Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.829/1.829, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 179.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 95.75 kB / 0.7808 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 16.69 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.565, allocations: 120.3 MB / 1.026 GB, free: 56.61 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.7318, allocations: 140.5 MB / 1.164 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.7321, allocations: 76.52 kB / 1.164 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00246/0.7346, allocations: 0.9641 MB / 1.165 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7346, allocations: 0 / 1.165 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7346, allocations: 0 / 1.165 GB, free: 0.7344 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.0002563/0.7349, allocations: 315.6 kB / 1.165 GB, free: 384 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.7349, allocations: 12.03 kB / 1.165 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.7351, allocations: 10.89 kB / 1.165 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.7352, allocations: 162.9 kB / 1.165 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.7352, allocations: 4.359 kB / 1.165 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.7352, allocations: 384 / 1.165 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.7353, allocations: 47.59 kB / 1.165 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7353, allocations: 192 / 1.165 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7353, allocations: 7.875 kB / 1.165 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.7354, allocations: 0.5938 kB / 1.165 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.7354, allocations: 12.64 kB / 1.165 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.7356, allocations: 150.3 kB / 1.165 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.7357, allocations: 47.28 kB / 1.165 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.7358, allocations: 16.91 kB / 1.165 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.7358, allocations: 0 / 1.165 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.7358, allocations: 38.5 kB / 1.165 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.7358, allocations: 0 / 1.165 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001865/0.736, allocations: 55.2 kB / 1.165 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.7361, allocations: 60.31 kB / 1.165 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.023e-05/0.7361, allocations: 89.86 kB / 1.166 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.7361, allocations: 26.83 kB / 1.166 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.7362, allocations: 80.14 kB / 1.166 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.7362, allocations: 3.906 kB / 1.166 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.7362, allocations: 0.5 kB / 1.166 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.7363, allocations: 318.8 kB / 1.166 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.7363, allocations: 7.984 kB / 1.166 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.7364, allocations: 7.938 kB / 1.166 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.7365, allocations: 24.84 kB / 1.166 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7365, allocations: 0 / 1.166 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.7366, allocations: 45.69 kB / 1.166 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7366, allocations: 4 kB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.7366, allocations: 4 kB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.7366, allocations: 3.938 kB / 1.166 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.737, allocations: 43.92 kB / 1.166 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.7381, allocations: 1.311 MB / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.7381, allocations: 0 / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.7381, allocations: 4 kB / 1.167 GB, free: 13.52 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 () * 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 6.589e-05/0.7382, allocations: 118.3 kB / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.7382, allocations: 7.844 kB / 1.167 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.7382, allocations: 3.5 kB / 1.167 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.7382, allocations: 0 / 1.167 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.7382, allocations: 0 / 1.167 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7382, allocations: 0.5156 kB / 1.167 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.908e-05/0.7383, allocations: 161.7 kB / 1.168 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7383, allocations: 3.938 kB / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.7387, allocations: 51.88 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.7387, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.7387, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009413/0.7396, allocations: 1.308 MB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7396, allocations: 0 / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.7398, allocations: 80.94 kB / 1.169 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.7398, allocations: 81.09 kB / 1.169 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.7398, allocations: 4.094 kB / 1.169 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.7398, allocations: 4 kB / 1.169 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.7399, allocations: 0 / 1.169 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.7399, allocations: 0 / 1.169 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.7399, allocations: 75.28 kB / 1.169 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7399, allocations: 4 kB / 1.169 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001785/0.7401, allocations: 4 kB / 1.169 GB, free: 11.39 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 () * 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.0001173/0.7402, allocations: 107.2 kB / 1.169 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.7406, allocations: 65.17 kB / 1.169 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7406, allocations: 0 / 1.169 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.7409, allocations: 39.95 kB / 1.169 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.741, allocations: 1.547 kB / 1.169 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.7413, allocations: 91.53 kB / 1.169 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.7415, allocations: 0.6731 MB / 1.17 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.509e-05/0.7415, allocations: 7.938 kB / 1.17 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.7416, allocations: 11.44 kB / 1.17 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.7416, allocations: 0 / 1.17 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.001936/0.7435, allocations: 381.3 kB / 1.171 GB, free: 9.98 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)