Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00427/0.00427, allocations: 102.8 kB / 15.73 MB, free: 6.016 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.0009774/0.0009773, allocations: 196.3 kB / 16.68 MB, free: 5.934 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.227/1.227, 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.423/1.423, 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.001526/0.001527, allocations: 63.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1855, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002391/0.188, allocations: 1.482 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.1883, allocations: 112.5 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.1884, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.1884, allocations: 7.922 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.1885, allocations: 7.922 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1887, allocations: 23.97 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.1888, allocations: 43.8 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1889, allocations: 11.98 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.189, allocations: 19.98 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.1891, allocations: 23.86 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1891, allocations: 4 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.1892, allocations: 19.98 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.1892, allocations: 19.97 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1893, allocations: 15.88 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1894, allocations: 59.73 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1894, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1894, allocations: 4 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1894, allocations: 0 / 0.8298 GB, free: 14.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005999/0.19, allocations: 389.6 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1901, allocations: 8.031 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1901, allocations: 12.78 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1902, allocations: 180.2 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1903, allocations: 384 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1903, allocations: 384 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1905, allocations: 82.2 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1906, allocations: 192 / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1906, allocations: 7.875 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1906, allocations: 0 / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.1908, allocations: 75.92 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1912, allocations: 280.9 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1914, allocations: 70.47 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1915, allocations: 44.92 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.1918, allocations: 113.1 kB / 0.8311 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.1918, allocations: 30.56 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1918, allocations: 0 / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004779/0.1923, allocations: 149.4 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1924, allocations: 55.41 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.1925, allocations: 132.3 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1925, allocations: 25.7 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1926, allocations: 96.12 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1926, allocations: 3.906 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1927, allocations: 17.72 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1928, allocations: 318.8 kB / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1929, allocations: 35.97 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.193, allocations: 35.95 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.1933, allocations: 80.78 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.1933, allocations: 3.938 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002834/0.1936, allocations: 117.7 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1936, allocations: 4 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1936, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1936, allocations: 4.047 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1937, allocations: 15.97 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1938, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.1938, allocations: 15.98 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1938, allocations: 4 kB / 0.8322 GB, free: 11.73 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): 3 * 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.027e-05/0.1939, allocations: 117.8 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.194, allocations: 7.906 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.1943, allocations: 121.5 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1943, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1943, allocations: 4 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1943, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1945, allocations: 185.5 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1945, allocations: 11.88 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.1946, allocations: 19.97 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1946, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.1946, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1946, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1946, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.195, allocations: 211.3 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.195, allocations: 81.11 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.195, allocations: 0 / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.1951, allocations: 11.98 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.1952, allocations: 15.92 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1952, allocations: 4 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.779e-05/0.1953, allocations: 95.27 kB / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1953, allocations: 0 / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002228/0.1955, allocations: 15.91 kB / 0.833 GB, free: 10.75 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): 3 * 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.0001366/0.1957, allocations: 99.25 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.196, allocations: 83.91 kB / 0.8332 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.196, allocations: 0 / 0.8332 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1961, allocations: 35.97 kB / 0.8332 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1964, allocations: 15.86 kB / 0.8332 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1968, allocations: 145.6 kB / 0.8334 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.197, allocations: 0.6961 MB / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.197, allocations: 7.844 kB / 0.8341 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1971, allocations: 15.44 kB / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.1971, allocations: 0 / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of Templates: time 0.003075/0.2002, allocations: 0.7961 MB / 0.8349 GB, free: 8.801 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)