Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.702/1.702, 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.001186/0.001187, allocations: 188.3 kB / 384.6 MB, free: 10.86 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.373/1.373, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007361/0.0007362, allocations: 98.55 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 21.77 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7012, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.8882, allocations: 141.2 MB / 1.164 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.8885, allocations: 75.56 kB / 1.164 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002087/0.8906, allocations: 0.7813 MB / 1.165 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8906, allocations: 0.625 kB / 1.165 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.8907, allocations: 0 / 1.165 GB, free: 1.621 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.000318/0.891, allocations: 351.1 kB / 1.165 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.891, allocations: 9.391 kB / 1.165 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.8912, allocations: 16.92 kB / 1.165 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.237e-05/0.8913, allocations: 166.4 kB / 1.166 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.8913, allocations: 5.531 kB / 1.166 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.8913, allocations: 4.375 kB / 1.166 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.8915, allocations: 62.86 kB / 1.166 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8915, allocations: 192 / 1.166 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.8916, allocations: 5.766 kB / 1.166 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8916, allocations: 0 / 1.166 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.8918, allocations: 64.39 kB / 1.166 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.8922, allocations: 278.4 kB / 1.166 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.8923, allocations: 70.05 kB / 1.166 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.8924, allocations: 36.69 kB / 1.166 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.8925, allocations: 5.188 kB / 1.166 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.8925, allocations: 31.55 kB / 1.166 GB, free: 484 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 3.917e-06/0.8925, allocations: 2.562 kB / 1.166 GB, free: 484 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003833/0.8929, allocations: 135.2 kB / 1.166 GB, free: 372 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.8929, allocations: 55.34 kB / 1.166 GB, free: 304 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.865e-05/0.893, allocations: 106.3 kB / 1.166 GB, free: 192 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.893, allocations: 25.7 kB / 1.166 GB, free: 160 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.893, allocations: 85.44 kB / 1.166 GB, free: 72 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.8931, allocations: 6.422 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8931, allocations: 1.812 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8932, allocations: 316.2 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.8933, allocations: 32.53 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.141e-05/0.8934, allocations: 31.64 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.8936, allocations: 65.11 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8936, allocations: 4 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002363/0.8939, allocations: 98.08 kB / 1.167 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8939, allocations: 8.438 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8939, allocations: 1.516 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.8939, allocations: 0.9375 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.894, allocations: 18.44 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8941, allocations: 1.656 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.8941, allocations: 11.75 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.8941, allocations: 0.7031 kB / 1.167 GB, free: 15.54 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.8942, allocations: 115.9 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.8943, allocations: 3.906 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.8943, allocations: 8.281 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8943, allocations: 1.812 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8943, allocations: 0.75 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.8943, allocations: 4 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.8945, allocations: 166.8 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8945, allocations: 2.406 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.8946, allocations: 15.61 kB / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8946, allocations: 0.9375 kB / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.8946, allocations: 1.812 kB / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8946, allocations: 0 / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8946, allocations: 0 / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.8949, allocations: 202.2 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.8949, allocations: 77.95 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.895, allocations: 0 / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.8951, allocations: 15.41 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.8951, allocations: 5.453 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.8951, allocations: 0.875 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.8952, allocations: 86.23 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8952, allocations: 0 / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001991/0.8954, allocations: 4 kB / 1.168 GB, free: 14.79 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.8955, allocations: 100.4 kB / 1.168 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.8957, allocations: 65.5 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8958, allocations: 0 / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.8959, allocations: 38.56 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.8961, allocations: 13.16 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.8965, allocations: 135.3 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.8968, allocations: 0.6765 MB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.8968, allocations: 0.7031 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.8968, allocations: 11.44 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.8968, allocations: 0 / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.002575/0.8994, allocations: 0.4946 MB / 1.169 GB, free: 13.47 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)