Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.001037/0.001037, allocations: 174 kB / 372.3 MB, free: 10.14 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.402/1.402, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0006902/0.0006901, allocations: 103.2 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 14.81 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006719/0.1934, allocations: 323.8 kB / 0.9805 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002336/0.1937, allocations: 83.78 kB / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1937, allocations: 0 / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.1937, allocations: 0 / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.1938, allocations: 0 / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.194, allocations: 8 kB / 0.9805 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.194, allocations: 11.97 kB / 0.9806 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1941, allocations: 0 / 0.9806 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.1941, allocations: 8 kB / 0.9806 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.1942, allocations: 7.938 kB / 0.9806 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1942, allocations: 4 kB / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.1942, allocations: 11.98 kB / 0.9806 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1943, allocations: 4 kB / 0.9806 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1943, allocations: 33.69 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.659e-05/0.1944, allocations: 4 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1944, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1944, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1944, allocations: 0 / 0.9806 GB, free: 26.84 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.0002495/0.1946, allocations: 311.6 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1947, allocations: 12.03 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1948, allocations: 12.92 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.321e-05/0.1949, allocations: 172.3 kB / 0.9811 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1949, allocations: 4.312 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.195, allocations: 384 / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1951, allocations: 38.23 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.1951, allocations: 4.188 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1951, allocations: 11.94 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1951, allocations: 4 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.1952, allocations: 7.984 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.509e-05/0.1953, allocations: 154 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1954, allocations: 46.53 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.1955, allocations: 16.92 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.1955, allocations: 4 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.1955, allocations: 34.55 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1955, allocations: 0 / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.1957, allocations: 53.62 kB / 0.9815 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1957, allocations: 51.41 kB / 0.9815 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.556e-05/0.1957, allocations: 89.86 kB / 0.9816 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.1957, allocations: 29.69 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.056e-05/0.1957, allocations: 92.08 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1958, allocations: 15.75 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.1958, allocations: 0 / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.1958, allocations: 310.8 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.1959, allocations: 4 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.1959, allocations: 12.17 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.816e-05/0.196, allocations: 24.92 kB / 0.9821 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.196, allocations: 0 / 0.9821 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.643e-05/0.1961, allocations: 49.69 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.1961, allocations: 8 kB / 0.9821 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1961, allocations: 3.984 kB / 0.9821 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1961, allocations: 3.938 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.1965, allocations: 47.86 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008135/0.1973, allocations: 1.302 MB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.1973, allocations: 4.031 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1973, allocations: 0 / 0.9835 GB, free: 23.59 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 4.494e-05/0.1974, allocations: 109.8 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.1974, allocations: 11.88 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.1974, allocations: 11.42 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1974, allocations: 4.094 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.1974, allocations: 0 / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.1974, allocations: 0 / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.055e-05/0.1975, allocations: 153.6 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1975, allocations: 3.984 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.1978, allocations: 43.94 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1978, allocations: 7.938 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1978, allocations: 0 / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/0.1985, allocations: 1.314 MB / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1985, allocations: 0 / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.425e-05/0.1986, allocations: 81.19 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.1987, allocations: 77.11 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.1987, allocations: 3.984 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.1987, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1987, allocations: 4 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1987, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.079e-05/0.1987, allocations: 75.28 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1988, allocations: 0 / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000175/0.1989, allocations: 4 kB / 0.9853 GB, free: 21.47 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 9.623e-05/0.199, allocations: 113.4 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.1994, allocations: 59.84 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1995, allocations: 0 / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.1997, allocations: 39.95 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.1998, allocations: 4 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.2001, allocations: 94.88 kB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.339e-05/0.2002, allocations: 0.6731 MB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2002, allocations: 11.98 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.2002, allocations: 7.438 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2002, allocations: 0 / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.001813/0.2021, allocations: 385.4 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)