Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001366, allocations: 100.2 kB / 16.36 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.19 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002597/0.2437, allocations: 1.438 MB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.2439, allocations: 92.58 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.244, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.244, allocations: 4 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.2441, allocations: 3.938 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.2443, allocations: 19.91 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.2444, allocations: 23.98 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.2445, allocations: 7.938 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.2445, allocations: 11.98 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.2446, allocations: 11.94 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2446, allocations: 3.938 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.2446, allocations: 15.98 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.2447, allocations: 7.984 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.2447, allocations: 11.94 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.2448, allocations: 35.88 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2448, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2448, allocations: 4 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2448, allocations: 0 / 0.7864 GB, free: 1.473 MB / 0.6544 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.0004169/0.2453, allocations: 343.4 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2453, allocations: 12.03 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2455, allocations: 8.922 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.2456, allocations: 172.3 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2456, allocations: 384 / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2456, allocations: 8.312 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2458, allocations: 58.22 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.2458, allocations: 192 / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2458, allocations: 7.938 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2458, allocations: 0 / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.2461, allocations: 47.89 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.2464, allocations: 268.9 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.2466, allocations: 50.48 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2467, allocations: 32.89 kB / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2467, allocations: 0 / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2467, allocations: 34.56 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2467, allocations: 3.938 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.2471, allocations: 97.62 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2472, allocations: 59.53 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.2472, allocations: 101.8 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.6093, allocations: 26.81 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.6093, allocations: 86.27 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.6094, allocations: 10.2 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.6094, allocations: 12.38 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.6095, allocations: 316.5 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.6096, allocations: 24.39 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.6097, allocations: 23.62 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.6099, allocations: 60.02 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6099, allocations: 0 / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002323/0.6101, allocations: 83.42 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6102, allocations: 2.75 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6102, allocations: 2.719 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6102, allocations: 0 / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6103, allocations: 16.03 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6103, allocations: 0 / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.6104, allocations: 10.19 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.6104, allocations: 0 / 0.7883 GB, free: 48.55 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.6105, allocations: 115.9 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.6105, allocations: 6.344 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.6105, allocations: 3.531 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.6106, allocations: 6.656 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6106, allocations: 0 / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6106, allocations: 0 / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.6107, allocations: 168 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6107, allocations: 0 / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.6108, allocations: 8.875 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.6108, allocations: 7.406 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.6108, allocations: 4.281 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6108, allocations: 3.938 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6108, allocations: 1.938 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.6111, allocations: 174.7 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.6111, allocations: 83.38 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.6111, allocations: 3.375 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.6112, allocations: 10.95 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.6113, allocations: 2.688 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.6113, allocations: 0 / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.6113, allocations: 90.75 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6113, allocations: 0 / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000223/0.6115, allocations: 7.562 kB / 0.789 GB, free: 47.94 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.175e-05/0.6116, allocations: 97.03 kB / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.6119, allocations: 55.33 kB / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6119, allocations: 0 / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.612, allocations: 30.55 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.6123, allocations: 3.609 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.6126, allocations: 112.2 kB / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.6127, allocations: 0.6767 MB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.6128, allocations: 4.438 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.6128, allocations: 8.625 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of SimCode: time 1.213e-06/0.6128, allocations: 0 / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002332/0.6151, allocations: 0.5744 MB / 0.7905 GB, free: 47.06 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)