Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.684/1.684, allocations: 287.5 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 185.1 kB / 371.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 0.6298 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008461/0.0008461, allocations: 85.28 kB / 0.7432 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 13.31 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006872/0.1925, allocations: 331.5 kB / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.1927, allocations: 87.78 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.1927, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.1928, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.1928, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.193, allocations: 11.98 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.1931, allocations: 4 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.1931, allocations: 7.984 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.1932, allocations: 7.938 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.1932, allocations: 4 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1933, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.726e-05/0.1933, allocations: 15.98 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.1933, allocations: 3.984 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.1934, allocations: 25.7 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.715e-05/0.1935, allocations: 11.98 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1935, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1935, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1935, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 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.0003734/0.1939, allocations: 315.6 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1939, allocations: 12.03 kB / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.1941, allocations: 8.922 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/0.1942, allocations: 164.4 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1942, allocations: 384 / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1942, allocations: 4.375 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1944, allocations: 42.12 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1944, allocations: 192 / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1944, allocations: 7.938 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1944, allocations: 0 / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.1945, allocations: 15.98 kB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1947, allocations: 158 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1949, allocations: 34.61 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.1949, allocations: 24.84 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1949, allocations: 7.938 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.195, allocations: 30.56 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.195, allocations: 0 / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002208/0.1952, allocations: 57.61 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1952, allocations: 51.41 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.866e-05/0.1953, allocations: 89.86 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1953, allocations: 29.7 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.1953, allocations: 80.14 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1954, allocations: 15.75 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.1954, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.1955, allocations: 318.8 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.1955, allocations: 7.938 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.1955, allocations: 8 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.1956, allocations: 21.12 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1956, allocations: 4 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.174e-05/0.1957, allocations: 53.66 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1957, allocations: 6.656 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1957, allocations: 0 / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1958, allocations: 3.938 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.1961, allocations: 43.94 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009615/0.1971, allocations: 1.306 MB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.1971, allocations: 3.984 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1971, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 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 5.653e-05/0.1972, allocations: 109.9 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.1972, allocations: 8.031 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.1972, allocations: 7.5 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1972, allocations: 4 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.1973, allocations: 0 / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1973, allocations: 7.938 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.429e-05/0.1973, allocations: 153.6 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1973, allocations: 3.938 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.1977, allocations: 51.92 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1977, allocations: 0 / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1977, allocations: 0 / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007106/0.1984, allocations: 1.306 MB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1984, allocations: 0 / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.1985, allocations: 89.17 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.1985, allocations: 77.11 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-06/0.1986, allocations: 4 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.1986, allocations: 0 / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1986, allocations: 3.984 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1986, allocations: 4 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.369e-05/0.1986, allocations: 79.22 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1986, allocations: 0 / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002112/0.1989, allocations: 8 kB / 0.9839 GB, free: 22.33 MB / 0.6198 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.0001647/0.199, allocations: 101.1 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.1995, allocations: 63.86 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1995, allocations: 0 / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.1997, allocations: 39.95 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1999, allocations: 0 / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.2002, allocations: 98.88 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.2004, allocations: 0.677 MB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.2004, allocations: 4 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2005, allocations: 7.438 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2005, allocations: 0 / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.002219/0.2027, allocations: 386.5 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)