Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005074/0.005074, allocations: 103 kB / 15.73 MB, free: 6.051 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.001207/0.001207, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.236/1.236, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.7 MB / 0.5094 GB, free: 2.941 MB / 414.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.001274/0.001274, allocations: 74.09 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1865, allocations: 104.7 MB / 0.828 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002505/0.1891, allocations: 1.435 MB / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003034/0.1894, allocations: 92.92 kB / 0.8295 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.1895, allocations: 0 / 0.8295 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.1895, allocations: 3.938 kB / 0.8295 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.1896, allocations: 4 kB / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1898, allocations: 23.91 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.1899, allocations: 27.92 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.19, allocations: 0 / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.1901, allocations: 15.92 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.1901, allocations: 7.938 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1901, allocations: 4 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.1902, allocations: 19.98 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1902, allocations: 7.984 kB / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.1903, allocations: 15.94 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1904, allocations: 39.81 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1904, allocations: 0 / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1904, allocations: 0 / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.1904, allocations: 0 / 0.8297 GB, free: 14.45 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.0004726/0.1909, allocations: 343.4 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.191, allocations: 8.031 kB / 0.83 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.1912, allocations: 16.83 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1913, allocations: 164.4 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1913, allocations: 4.375 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1913, allocations: 384 / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1915, allocations: 62.16 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1915, allocations: 192 / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1915, allocations: 3.938 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1915, allocations: 0 / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1917, allocations: 51.95 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1921, allocations: 264.8 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.1923, allocations: 58.48 kB / 0.8306 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/0.1924, allocations: 28.89 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1924, allocations: 7.938 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1924, allocations: 34.55 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1925, allocations: 0 / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.1928, allocations: 101.6 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1929, allocations: 51.53 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.193, allocations: 109.8 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.193, allocations: 29.64 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.193, allocations: 88.14 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.193, allocations: 3.906 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1931, allocations: 9.719 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1932, allocations: 322.8 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.1933, allocations: 15.98 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.1934, allocations: 31.91 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1936, allocations: 52.81 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1936, allocations: 0 / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002183/0.1938, allocations: 89.64 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1938, allocations: 4 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1938, allocations: 0 / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1939, allocations: 0 / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.194, allocations: 11.98 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.194, allocations: 0 / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.194, allocations: 8.234 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1941, allocations: 0 / 0.8316 GB, free: 12.29 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 8.089e-05/0.1941, allocations: 125.8 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1942, allocations: 3.906 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.1942, allocations: 11.53 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1942, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1942, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1942, allocations: 3.938 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.1945, allocations: 173.6 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1945, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.1945, allocations: 7.984 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1945, allocations: 4 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1946, allocations: 4 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1946, allocations: 0 / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1946, allocations: 3.984 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1948, allocations: 171.5 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.1949, allocations: 77.11 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1949, allocations: 8.016 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.195, allocations: 8 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.195, allocations: 7.922 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.195, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.668e-05/0.1951, allocations: 87.22 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1951, allocations: 0 / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002051/0.1953, allocations: 8 kB / 0.8323 GB, free: 11.5 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.717e-05/0.1954, allocations: 95.25 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1957, allocations: 55.94 kB / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1957, allocations: 0 / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.805e-05/0.1958, allocations: 23.98 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.196, allocations: 7.922 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1964, allocations: 133.6 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1966, allocations: 0.6805 MB / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.1967, allocations: 4 kB / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.1967, allocations: 7.438 kB / 0.8332 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.1967, allocations: 0 / 0.8332 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.002604/0.1993, allocations: 0.5802 MB / 0.8338 GB, free: 9.863 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)