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.005394/0.005394, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001374/0.001374, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.271/1.271, allocations: 205.1 MB / 222.5 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.342/1.342, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.00127/0.00127, allocations: 71.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1903, 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.002167/0.1925, allocations: 1.474 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.1928, allocations: 116.5 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.1928, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.1929, allocations: 3.984 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.193, allocations: 11.88 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.1932, allocations: 23.97 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.1932, allocations: 43.8 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.1933, allocations: 19.97 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.1934, allocations: 15.92 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.1934, allocations: 23.92 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1935, allocations: 7.984 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.1935, allocations: 23.98 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.1936, allocations: 7.984 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.1936, allocations: 19.88 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1937, allocations: 67.73 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1937, allocations: 0 / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1937, allocations: 0 / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.1937, allocations: 0 / 0.8299 GB, free: 14.33 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.0004597/0.1942, allocations: 377.6 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.1942, allocations: 8.031 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1943, allocations: 12.83 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1944, allocations: 182 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1944, allocations: 8.375 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.1944, allocations: 12.25 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.1947, allocations: 74.2 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1947, allocations: 192 / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1947, allocations: 3.938 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1947, allocations: 0 / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.195, allocations: 75.92 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1953, allocations: 280.9 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1955, allocations: 70.47 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1957, allocations: 44.91 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.1959, allocations: 109.1 kB / 0.8311 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1959, allocations: 34.56 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.196, allocations: 0 / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005171/0.1965, allocations: 149.4 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1965, allocations: 55.41 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.1966, allocations: 125.8 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1966, allocations: 29.7 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.1967, allocations: 92.12 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1967, allocations: 11.91 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1968, allocations: 13.72 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1969, allocations: 322.8 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.197, allocations: 31.97 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1972, allocations: 35.95 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.1974, allocations: 80.78 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1974, 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.0003126/0.1978, allocations: 117.5 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1978, allocations: 8 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1978, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1978, allocations: 4 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1979, allocations: 11.98 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1979, allocations: 4 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.198, allocations: 7.984 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.198, allocations: 3.984 kB / 0.8321 GB, free: 11.74 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.021e-05/0.1981, allocations: 121.8 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1981, allocations: 7.906 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.1985, allocations: 125.8 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1985, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1985, allocations: 3.938 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1985, allocations: 4 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1987, allocations: 185.5 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1987, allocations: 0 / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.1988, allocations: 19.97 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1988, allocations: 4 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1988, allocations: 7.938 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1988, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1988, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1992, allocations: 211.3 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.1992, allocations: 81.11 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1992, allocations: 0 / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.1993, allocations: 11.98 kB / 0.8329 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1994, allocations: 7.984 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1994, allocations: 3.938 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.1995, allocations: 102.1 kB / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1995, allocations: 0 / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002167/0.1997, allocations: 11.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.0001161/0.1998, allocations: 103.2 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.2001, allocations: 83.91 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2001, allocations: 0 / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2003, 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.0002231/0.2005, allocations: 15.92 kB / 0.8332 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.2008, allocations: 153.5 kB / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.201, allocations: 0.6922 MB / 0.8341 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.2011, allocations: 3.859 kB / 0.8341 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.2011, allocations: 11.44 kB / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.2011, allocations: 0 / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of Templates: time 0.00273/0.2038, allocations: 0.7917 MB / 0.8349 GB, free: 8.805 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)