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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 252 MB / 268 MB, free: 10.87 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.001103/0.001103, allocations: 179.8 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0007646/0.0007648, allocations: 86.39 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8.875 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001565/0.2028, allocations: 1.219 MB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.2031, allocations: 112.5 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.2032, allocations: 0 / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.2032, allocations: 0 / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.2033, allocations: 11.92 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2035, allocations: 19.98 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.2036, allocations: 43.8 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.2037, allocations: 11.98 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.2037, allocations: 11.98 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.2038, allocations: 23.84 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2038, allocations: 4 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.2039, allocations: 19.98 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.2039, allocations: 7.984 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.204, allocations: 41.58 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.2041, allocations: 43.94 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2041, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.786e-06/0.2041, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2041, allocations: 3.938 kB / 0.903 GB, free: 61.92 MB / 0.6042 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.0004621/0.2046, allocations: 375.6 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2046, allocations: 16.03 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.2047, allocations: 4.844 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.2048, allocations: 188.1 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2048, allocations: 4.375 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2048, allocations: 4.375 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2051, allocations: 86.22 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2051, allocations: 192 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2051, allocations: 3.938 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2051, allocations: 0 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.2054, allocations: 95.92 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.2057, allocations: 292.8 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.2059, allocations: 82.47 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2061, allocations: 56.91 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.2063, allocations: 105.1 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2064, allocations: 30.56 kB / 0.9043 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2064, allocations: 0 / 0.9043 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005499/0.2069, allocations: 185.5 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.207, allocations: 51.41 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.207, allocations: 125.8 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.2071, allocations: 25.7 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.2071, allocations: 96.05 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2071, allocations: 7.844 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2071, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.2072, allocations: 322.8 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2073, allocations: 47.91 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2075, allocations: 51.95 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2077, allocations: 104.8 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2078, allocations: 3.938 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003087/0.2081, allocations: 137.5 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2081, allocations: 4 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2081, allocations: 0 / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2081, allocations: 0 / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2083, allocations: 19.98 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2083, allocations: 7.938 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.2083, allocations: 19.97 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2084, allocations: 4 kB / 0.9054 GB, free: 59.18 MB / 0.6042 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 6.062e-05/0.2084, allocations: 117.8 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.2085, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.2088, allocations: 149.8 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2088, allocations: 4.031 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2088, allocations: 4 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2089, allocations: 0 / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.209, allocations: 189.5 kB / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.209, allocations: 0 / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/0.2091, allocations: 19.98 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2091, allocations: 0 / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2091, allocations: 0 / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.2091, allocations: 0 / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2091, allocations: 4 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.2095, allocations: 231.4 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.2095, allocations: 81.02 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2095, allocations: 0 / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2096, allocations: 19.92 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.2097, allocations: 7.984 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.2097, allocations: 4 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.2097, allocations: 101.3 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2097, allocations: 0 / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002196/0.21, allocations: 12 kB / 0.9063 GB, free: 58.15 MB / 0.6042 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.0001207/0.2101, allocations: 103.2 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.2104, allocations: 103.9 kB / 0.9065 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2104, allocations: 0 / 0.9065 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.2106, allocations: 51.95 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2108, allocations: 17.77 kB / 0.9066 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.2112, allocations: 194.3 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.2113, allocations: 0.6887 MB / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.2113, allocations: 7.438 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2113, allocations: 0 / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.002127/0.2135, allocations: 0.8904 MB / 0.9083 GB, free: 56.05 MB / 0.6042 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)