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.001171/0.001171, allocations: 116.5 kB / 16.38 MB, free: 6.008 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.001084/0.001084, allocations: 185.7 kB / 17.31 MB, free: 5.613 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.668/1.668, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.894/1.894, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001449/0.001449, allocations: 74.88 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.288, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003022/0.291, allocations: 1.449 MB / 0.7862 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.2914, allocations: 92.58 kB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.2914, allocations: 3.938 kB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.2915, allocations: 3.938 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.2915, allocations: 4 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2918, allocations: 15.92 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.2918, allocations: 23.92 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.292, allocations: 8 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.292, allocations: 11.98 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.2921, allocations: 19.91 kB / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2921, allocations: 0 / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.2922, allocations: 19.98 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.2922, allocations: 3.938 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.2922, allocations: 7.938 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2923, allocations: 31.95 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.2924, allocations: 0 / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2924, allocations: 3.938 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2924, allocations: 3.938 kB / 0.7864 GB, free: 1.492 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.0005068/0.2929, allocations: 351.4 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2929, allocations: 8.031 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.2931, allocations: 12.92 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2933, allocations: 164.3 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2933, allocations: 384 / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.2933, allocations: 4.375 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2935, allocations: 66.16 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2935, allocations: 4.188 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2936, allocations: 3.938 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2936, allocations: 0 / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.2938, allocations: 47.95 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.2942, allocations: 264.9 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.2944, allocations: 54.48 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2945, allocations: 32.89 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2945, allocations: 3.938 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2946, allocations: 34.56 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2946, allocations: 0 / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004148/0.295, allocations: 101.6 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.295, allocations: 51.41 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.2951, allocations: 105.8 kB / 0.7877 GB, free: 16 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.516/0.8111, allocations: 25.7 kB / 0.7877 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.8112, allocations: 82.33 kB / 0.7878 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.8112, allocations: 13.33 kB / 0.7878 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.8113, allocations: 14.61 kB / 0.7878 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.8113, allocations: 313 kB / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.8115, allocations: 24.53 kB / 0.7881 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.8116, allocations: 32.81 kB / 0.7882 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.8118, allocations: 49.33 kB / 0.7882 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8118, allocations: 0 / 0.7882 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002538/0.8121, allocations: 84.27 kB / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8121, allocations: 5.344 kB / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8121, allocations: 1.5 kB / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.8121, allocations: 0 / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8122, allocations: 19.53 kB / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8123, allocations: 6.156 kB / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.8123, allocations: 10.62 kB / 0.7883 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.8123, allocations: 0 / 0.7883 GB, free: 49.04 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.403e-05/0.8124, allocations: 108.5 kB / 0.7884 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.8124, allocations: 3.594 kB / 0.7884 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.8125, allocations: 7.469 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8125, allocations: 6.625 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8125, allocations: 2.594 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8125, allocations: 0.5 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.8126, allocations: 162.7 kB / 0.7886 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8126, allocations: 0 / 0.7886 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.8127, allocations: 11.39 kB / 0.7886 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.8127, allocations: 0.5938 kB / 0.7886 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.8127, allocations: 0.5312 kB / 0.7886 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8127, allocations: 8.062 kB / 0.7886 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8127, allocations: 5.406 kB / 0.7886 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.813, allocations: 176 kB / 0.7888 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.813, allocations: 79.8 kB / 0.7889 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.813, allocations: 0 / 0.7889 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.8131, allocations: 17.02 kB / 0.7889 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.8132, allocations: 1.031 kB / 0.7889 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.8132, allocations: 6.266 kB / 0.7889 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.8132, allocations: 83.94 kB / 0.789 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8132, allocations: 0.875 kB / 0.789 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002113/0.8134, allocations: 5.344 kB / 0.789 GB, free: 48.43 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.325e-05/0.8135, allocations: 97.28 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.8138, allocations: 54.27 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8138, allocations: 0 / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.8139, allocations: 29.58 kB / 0.7892 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.8142, allocations: 5.125 kB / 0.7892 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.8145, allocations: 144.8 kB / 0.7893 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.92e-05/0.8146, allocations: 0.678 MB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.8146, allocations: 8.938 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.8146, allocations: 0 / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.001883/0.8165, allocations: 0.6271 MB / 0.7906 GB, free: 47.52 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)