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.004139/0.004139, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001002/0.001002, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.234/1.234, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.373/1.373, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001301/0.001301, allocations: 71.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1847, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002486/0.1873, allocations: 1.427 MB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002877/0.1876, allocations: 92.94 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.1876, allocations: 4 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.1877, allocations: 7.938 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.1877, allocations: 7.922 kB / 0.8295 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.1879, allocations: 11.98 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.188, allocations: 23.92 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.1881, allocations: 4 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.1882, allocations: 11.94 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.1882, allocations: 19.91 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1882, allocations: 4 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.1883, allocations: 19.98 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.1883, allocations: 4 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.1883, allocations: 15.92 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.937e-05/0.1884, allocations: 31.84 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1885, allocations: 0 / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1885, allocations: 0 / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1885, allocations: 0 / 0.8297 GB, free: 14.49 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.0004134/0.1889, allocations: 339.5 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1889, allocations: 12.02 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1891, allocations: 16.83 kB / 0.83 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.1892, allocations: 164.4 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1892, allocations: 8.359 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1892, allocations: 4.312 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1894, allocations: 62.22 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1895, allocations: 192 / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1895, allocations: 3.938 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1895, allocations: 0 / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1897, allocations: 51.95 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1901, allocations: 268.8 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1902, allocations: 54.42 kB / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1904, allocations: 36.89 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.1904, allocations: 0 / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1904, allocations: 38.56 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1904, allocations: 3.938 kB / 0.8307 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004106/0.1908, allocations: 97.62 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1909, allocations: 55.53 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.191, allocations: 113.7 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.191, allocations: 25.7 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.191, allocations: 84.14 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.191, allocations: 7.906 kB / 0.8311 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1911, allocations: 13.72 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.1912, allocations: 314.8 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1913, allocations: 27.97 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.1914, allocations: 23.97 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1916, allocations: 48.81 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1916, allocations: 0 / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002271/0.1918, allocations: 81.66 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1919, allocations: 8 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1919, allocations: 0 / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1919, allocations: 7.922 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.192, allocations: 8 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.192, allocations: 3.984 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.1921, allocations: 4 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1921, allocations: 4 kB / 0.8316 GB, free: 12.31 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 7.103e-05/0.1922, allocations: 121.8 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.1922, allocations: 3.906 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.1922, allocations: 3.531 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1922, allocations: 4 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1922, allocations: 0 / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1922, allocations: 0 / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1924, allocations: 165.6 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1924, allocations: 4 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.1925, allocations: 11.98 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1925, allocations: 0 / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1925, allocations: 4 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1925, allocations: 0 / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1925, allocations: 0 / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1928, allocations: 179.4 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.1928, allocations: 85.14 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1929, allocations: 0 / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.193, allocations: 8.234 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.193, allocations: 4 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.193, allocations: 7.938 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.193, allocations: 87.27 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1931, allocations: 0 / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002/0.1933, allocations: 7.938 kB / 0.8323 GB, free: 11.53 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 0.0001094/0.1934, allocations: 99.25 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1936, allocations: 51.95 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1936, allocations: 0 / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1937, allocations: 31.91 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.194, allocations: 3.938 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.1943, allocations: 125.6 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1945, allocations: 0.6805 MB / 0.8332 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.1946, allocations: 0 / 0.8332 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1946, allocations: 11.44 kB / 0.8332 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.1946, allocations: 0 / 0.8332 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002314/0.1969, allocations: 0.5892 MB / 0.8338 GB, free: 9.887 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)