Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004891/0.004891, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001037/0.001037, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.235/1.235, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.352/1.352, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001302/0.001302, allocations: 67.91 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1877, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001497/0.1893, allocations: 0.5898 MB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.1896, allocations: 95.66 kB / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.1896, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.1896, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.1897, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.1899, allocations: 23.91 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.1899, allocations: 4 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.19, allocations: 4 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.19, allocations: 8 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.19, allocations: 0 / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1901, allocations: 0 / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.1901, allocations: 15.98 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1901, allocations: 3.984 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.1902, allocations: 11.92 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.27e-05/0.1902, allocations: 7.984 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1902, allocations: 0 / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1903, allocations: 0 / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1903, allocations: 0 / 0.8288 GB, free: 15.41 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.0003125/0.1906, allocations: 331.8 kB / 0.8291 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1906, allocations: 8.031 kB / 0.8291 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1908, allocations: 12.86 kB / 0.8292 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.1909, allocations: 168.3 kB / 0.8293 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1909, allocations: 4.375 kB / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1909, allocations: 384 / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.191, allocations: 38.25 kB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.191, allocations: 192 / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.191, allocations: 7.938 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1911, allocations: 4 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.1911, allocations: 11.98 kB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.1913, allocations: 157.6 kB / 0.8295 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1914, allocations: 42.55 kB / 0.8296 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.1915, allocations: 16.91 kB / 0.8296 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1915, allocations: 3.984 kB / 0.8296 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1915, allocations: 34.56 kB / 0.8296 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1915, allocations: 0 / 0.8296 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001954/0.1917, allocations: 61.61 kB / 0.8297 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1918, allocations: 55.34 kB / 0.8297 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.468e-05/0.1918, allocations: 89.86 kB / 0.8298 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1918, allocations: 33.7 kB / 0.8299 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.1918, allocations: 80.14 kB / 0.8299 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1919, allocations: 3.906 kB / 0.8299 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1919, allocations: 21.7 kB / 0.83 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.192, allocations: 310.8 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.192, allocations: 4 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.1921, allocations: 11.98 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.1922, allocations: 24.84 kB / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1922, allocations: 0 / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.652e-05/0.1923, allocations: 49.62 kB / 0.8303 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1923, allocations: 8 kB / 0.8303 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1923, allocations: 0 / 0.8303 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1923, allocations: 3.938 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.1927, allocations: 47.92 kB / 0.8304 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1938, allocations: 1.404 MB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1939, allocations: 0 / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1939, allocations: 3.984 kB / 0.8318 GB, free: 12.02 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.194, allocations: 117.9 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.194, allocations: 0 / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.157e-05/0.194, allocations: 7.5 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.194, allocations: 0 / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-07/0.194, allocations: 0 / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.194, allocations: 0 / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.441e-05/0.1941, allocations: 161.5 kB / 0.832 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1941, allocations: 3.938 kB / 0.832 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.1944, allocations: 52.25 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1945, allocations: 0 / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1945, allocations: 3.938 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/0.1955, allocations: 1.404 MB / 0.8335 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1955, allocations: 0 / 0.8335 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1956, allocations: 77.05 kB / 0.8335 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.1956, allocations: 77.11 kB / 0.8336 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.1956, allocations: 3.938 kB / 0.8336 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.1957, allocations: 12.05 kB / 0.8336 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.1957, allocations: 4 kB / 0.8336 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1957, allocations: 7.938 kB / 0.8336 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.083e-05/0.1957, allocations: 75.28 kB / 0.8337 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1957, allocations: 0 / 0.8337 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001755/0.1959, allocations: 4 kB / 0.8337 GB, free: 9.781 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001065/0.196, allocations: 99.25 kB / 0.8338 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.1965, allocations: 63.91 kB / 0.8339 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1965, allocations: 0 / 0.8339 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1967, allocations: 43.95 kB / 0.8339 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1968, allocations: 4 kB / 0.8339 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.1971, allocations: 104.8 kB / 0.834 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.1973, allocations: 0.6729 MB / 0.8347 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.1973, allocations: 0 / 0.8347 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.1974, allocations: 11.42 kB / 0.8347 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.1974, allocations: 4 kB / 0.8347 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of Templates: time 0.002127/0.1995, allocations: 420.6 kB / 0.8351 GB, free: 8.309 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)