Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5297/0.5297, allocations: 95.61 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009856/0.0009856, allocations: 164.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.4/1.4, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001571/0.001571, allocations: 111.3 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.6036, allocations: 93.72 MB / 0.6035 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.6039, allocations: 69.84 kB / 0.6036 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002144/0.606, allocations: 0.7661 MB / 0.6043 GB, free: 12.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6061, allocations: 0 / 0.6043 GB, free: 12.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.6061, allocations: 0 / 0.6043 GB, free: 12.86 MB / 410.7 MB 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.0004216/0.6065, allocations: 347.8 kB / 0.6046 GB, free: 12.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6066, allocations: 11.98 kB / 0.6046 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.6067, allocations: 19.17 kB / 0.6047 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.6069, allocations: 167.1 kB / 0.6048 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.6069, allocations: 0 / 0.6048 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.6069, allocations: 0 / 0.6048 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.6071, allocations: 66.31 kB / 0.6049 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6072, allocations: 4 kB / 0.6049 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6072, allocations: 3.812 kB / 0.6049 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6072, allocations: 0 / 0.6049 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.6074, allocations: 69.86 kB / 0.605 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.6079, allocations: 281.7 kB / 0.6052 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.6081, allocations: 65.31 kB / 0.6053 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.6081, allocations: 1.531 kB / 0.6053 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.6081, allocations: 34.62 kB / 0.6053 GB, free: 11.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6081, allocations: 0 / 0.6053 GB, free: 11.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004177/0.6085, allocations: 131.8 kB / 0.6055 GB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.6086, allocations: 55.41 kB / 0.6055 GB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.6087, allocations: 97 kB / 0.6056 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.6087, allocations: 25.7 kB / 0.6056 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.6088, allocations: 87.64 kB / 0.6057 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.6088, allocations: 7.891 kB / 0.6057 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.6088, allocations: 0 / 0.6057 GB, free: 11.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6089, allocations: 314.8 kB / 0.606 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.609, allocations: 31.11 kB / 0.606 GB, free: 10.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.6091, allocations: 31.66 kB / 0.6061 GB, free: 10.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.6093, allocations: 32.03 kB / 0.6061 GB, free: 10.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.6093, allocations: 2.953 kB / 0.6061 GB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000244/0.6095, allocations: 95.97 kB / 0.6062 GB, free: 10.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6095, allocations: 7.984 kB / 0.6062 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6095, allocations: 4 kB / 0.6062 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6096, allocations: 7.938 kB / 0.6062 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.6097, allocations: 11.98 kB / 0.6062 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6097, allocations: 0 / 0.6062 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.6098, allocations: 11.98 kB / 0.6062 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6098, allocations: 4 kB / 0.6062 GB, free: 10.74 MB / 410.7 MB 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.468e-05/0.6099, allocations: 109.8 kB / 0.6063 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.6099, allocations: 4 kB / 0.6064 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.61, allocations: 18.61 kB / 0.6064 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.61, allocations: 0 / 0.6064 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.61, allocations: 0 / 0.6064 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.61, allocations: 0 / 0.6064 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.6102, allocations: 168.1 kB / 0.6065 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6102, allocations: 0 / 0.6065 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.6103, allocations: 19.98 kB / 0.6065 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6103, allocations: 0 / 0.6065 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.6103, allocations: 0 / 0.6065 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6103, allocations: 3.953 kB / 0.6066 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6103, allocations: 0 / 0.6066 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6106, allocations: 195.6 kB / 0.6067 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.6106, allocations: 77.11 kB / 0.6068 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6107, allocations: 6.188 kB / 0.6068 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.6108, allocations: 11.98 kB / 0.6068 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.6108, allocations: 11.92 kB / 0.6068 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.6108, allocations: 3.938 kB / 0.6068 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.6109, allocations: 86.95 kB / 0.6069 GB, free: 9.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6109, allocations: 4 kB / 0.6069 GB, free: 9.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.6111, allocations: 4 kB / 0.6069 GB, free: 9.961 MB / 410.7 MB 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.0001037/0.6112, allocations: 91.25 kB / 0.607 GB, free: 9.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.6115, allocations: 66.95 kB / 0.6071 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6115, allocations: 0 / 0.6071 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.6116, allocations: 43.84 kB / 0.6071 GB, free: 9.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.6118, allocations: 3.062 kB / 0.6071 GB, free: 9.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.6122, allocations: 125.4 kB / 0.6073 GB, free: 9.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.6124, allocations: 0.6849 MB / 0.6079 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.6125, allocations: 0 / 0.6079 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.6125, allocations: 11.42 kB / 0.6079 GB, free: 8.895 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6125, allocations: 0 / 0.6079 GB, free: 8.895 MB / 410.7 MB Notification: Performance of Templates: time 0.002216/0.6147, allocations: 498.5 kB / 0.6084 GB, free: 8.418 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)