Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.838/3.838, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002354/0.002354, allocations: 180.5 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.046/4.046, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 90.17 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007837/0.0007842, allocations: 11.38 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3342, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.6801, allocations: 131.5 MB / 1.028 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004443/0.6806, allocations: 75.95 kB / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007648/0.6883, allocations: 1.087 MB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6883, allocations: 4 kB / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.6884, allocations: 0 / 1.029 GB, free: 12.65 MB / 0.6823 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.0009355/0.6893, allocations: 385.3 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/0.6894, allocations: 16.02 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.6895, allocations: 8.844 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.6898, allocations: 168.3 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.6898, allocations: 4.375 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6899, allocations: 4.312 kB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.6905, allocations: 86.2 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6905, allocations: 4.188 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.6906, allocations: 7.938 kB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6906, allocations: 0 / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008301/0.6914, allocations: 103.8 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.6926, allocations: 316.8 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.6932, allocations: 86.45 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.6938, allocations: 56.91 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.6942, allocations: 109.1 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.6943, allocations: 34.5 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 4.599e-06/0.6943, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001513/0.6958, allocations: 189.5 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.6959, allocations: 51.41 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.6962, allocations: 126.8 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.6962, allocations: 29.7 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.6963, allocations: 84.14 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.6964, allocations: 15.84 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.6964, allocations: 4 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.6967, allocations: 314.8 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.6971, allocations: 51.95 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.6976, allocations: 55.89 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.698, allocations: 43.97 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.6981, allocations: 3.938 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009794/0.6991, allocations: 141.5 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.6991, allocations: 9.406 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6991, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.6992, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.6995, allocations: 19.98 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6995, allocations: 0 / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.6998, allocations: 24.31 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.6999, allocations: 3.938 kB / 1.031 GB, free: 9.914 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.7001, allocations: 117.8 kB / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.7001, allocations: 7.906 kB / 1.032 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.7012, allocations: 153.4 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.7013, allocations: 8 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7013, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7013, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.7018, allocations: 189.6 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.7018, allocations: 3.984 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.7021, allocations: 19.98 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.7021, allocations: 0 / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.7022, allocations: 3.938 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.7022, allocations: 0 / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7022, allocations: 4 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.7033, allocations: 239.2 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.7034, allocations: 85.09 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.7034, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.7037, allocations: 15.98 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.7038, allocations: 7.984 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.7039, allocations: 0 / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001443/0.704, allocations: 101.1 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/0.7041, allocations: 4 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005688/0.7046, allocations: 16 kB / 1.032 GB, free: 8.859 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.7049, allocations: 99.19 kB / 1.033 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009934/0.7059, allocations: 103.9 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.706, allocations: 0 / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.7064, allocations: 55.91 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.707, allocations: 11.92 kB / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.7078, allocations: 164.5 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.7083, allocations: 0.6887 MB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.512e-05/0.7084, allocations: 7.859 kB / 1.034 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.7085, allocations: 7.438 kB / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/0.7085, allocations: 0 / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of Templates: time 0.005879/0.7144, allocations: 0.6452 MB / 1.034 GB, free: 7.023 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)