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 2.126/2.126, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001564/0.001563, allocations: 173.8 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.504/2.504, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001634/0.001635, allocations: 95.72 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004734, allocations: 11.69 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1995, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001784/0.2014, allocations: 1.2 MB / 0.9007 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.2017, allocations: 116.5 kB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.2017, allocations: 3.938 kB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.2018, allocations: 0 / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.2019, allocations: 7.938 kB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.2021, allocations: 19.97 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.2022, allocations: 35.86 kB / 0.9008 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.2023, allocations: 15.97 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.2023, allocations: 15.92 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.2024, allocations: 27.91 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2024, allocations: 0 / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.2025, allocations: 23.98 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.2026, allocations: 7.984 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.2026, allocations: 33.64 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.339e-05/0.2027, allocations: 39.92 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2027, allocations: 0 / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2027, allocations: 0 / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2027, allocations: 0 / 0.901 GB, free: 63.98 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.0005635/0.2033, allocations: 383.5 kB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2034, allocations: 12.03 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.2034, allocations: 4.844 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.2035, allocations: 176.2 kB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2035, allocations: 4.375 kB / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2036, allocations: 384 / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2039, allocations: 90.16 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.204, allocations: 192 / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.204, allocations: 7.938 kB / 0.9016 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.204, allocations: 0 / 0.9016 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.2045, allocations: 99.91 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.2049, allocations: 281 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.2052, allocations: 82.41 kB / 0.9021 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.2055, allocations: 56.91 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.2057, allocations: 105.1 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2058, allocations: 30.56 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.2058, allocations: 4 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0008752/0.2067, allocations: 181.5 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.2067, allocations: 51.41 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2068, allocations: 126.8 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2068, allocations: 29.64 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.2069, allocations: 96.14 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2069, allocations: 11.83 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.2069, allocations: 0 / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.207, allocations: 318.8 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.2073, allocations: 43.95 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.2076, allocations: 51.91 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2078, allocations: 51.95 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2078, allocations: 0 / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005544/0.2084, allocations: 141.5 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2084, allocations: 4 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2084, allocations: 0 / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2085, allocations: 0 / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2087, allocations: 19.98 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2087, allocations: 0 / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.2088, allocations: 19.98 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2089, allocations: 7.875 kB / 0.9034 GB, free: 61.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.2089, allocations: 121.8 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.209, allocations: 8.234 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.2096, allocations: 145.5 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2096, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2096, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.2096, allocations: 93 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2097, allocations: 0 / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2099, allocations: 15.98 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.2099, allocations: 7.938 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006661/0.2106, allocations: 220.8 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005909/0.2112, allocations: 306.8 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002879/0.2115, allocations: 51.95 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.2116, allocations: 101.5 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of Backend: time 5.11e-07/0.2116, allocations: 4 kB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006804/0.2123, allocations: 130.2 kB / 0.9045 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004754/0.2128, allocations: 0.611 MB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.003814/0.2166, allocations: 0.8095 MB / 0.9059 GB, free: 58.6 MB / 0.6042 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)