Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008686/0.0008685, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001053/0.001053, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 222.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6911/0.6911, allocations: 95.63 MB / 366 MB, free: 10.24 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005682/0.0005685, allocations: 12 kB / 446.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4466, allocations: 70.33 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001593/0.4483, allocations: 1.173 MB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.4486, allocations: 88.34 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.4487, allocations: 4 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.4487, allocations: 0 / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.4488, allocations: 11.92 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.4491, allocations: 11.98 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.4492, allocations: 43.84 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.4493, allocations: 4 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.4494, allocations: 19.92 kB / 0.5064 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.4494, allocations: 15.92 kB / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4494, allocations: 4 kB / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.4495, allocations: 19.97 kB / 0.5064 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.4496, allocations: 7.938 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.4496, allocations: 37.7 kB / 0.5065 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.954e-05/0.4497, allocations: 41.89 kB / 0.5065 GB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4497, allocations: 0 / 0.5065 GB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4497, allocations: 0 / 0.5065 GB, free: 14.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.4497, allocations: 0 / 0.5065 GB, free: 14.97 MB / 382.1 MB 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.0005028/0.4502, allocations: 383.1 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4503, allocations: 11.98 kB / 0.5069 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.4503, allocations: 7.906 kB / 0.5069 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.4504, allocations: 178.8 kB / 0.5071 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4505, allocations: 0 / 0.5071 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.4505, allocations: 11.98 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.4508, allocations: 85.61 kB / 0.5072 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4508, allocations: 0 / 0.5072 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4508, allocations: 3.938 kB / 0.5072 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4508, allocations: 4 kB / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.4511, allocations: 91.92 kB / 0.5072 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.4514, allocations: 284.9 kB / 0.5075 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.4517, allocations: 82.47 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4518, allocations: 56.91 kB / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.4521, allocations: 109.1 kB / 0.5078 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.4521, allocations: 30.56 kB / 0.5078 GB, free: 13.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.4521, allocations: 0 / 0.5078 GB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005237/0.4526, allocations: 185.4 kB / 0.508 GB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.4527, allocations: 55.41 kB / 0.508 GB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.4527, allocations: 125.7 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4528, allocations: 25.7 kB / 0.5082 GB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.4528, allocations: 92.14 kB / 0.5082 GB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.4528, allocations: 15.77 kB / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.4529, allocations: 0 / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.4529, allocations: 326.8 kB / 0.5086 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4531, allocations: 47.95 kB / 0.5086 GB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4532, allocations: 43.97 kB / 0.5087 GB, free: 12.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.4533, allocations: 47.95 kB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4533, allocations: 3.953 kB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002711/0.4536, allocations: 133.5 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4536, allocations: 4 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4536, allocations: 8 kB / 0.5089 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4537, allocations: 0 / 0.5089 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4538, allocations: 27.91 kB / 0.5089 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4538, allocations: 0 / 0.5089 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.4539, allocations: 15.98 kB / 0.5089 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4539, allocations: 4 kB / 0.5089 GB, free: 12.29 MB / 382.1 MB 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 5.783e-05/0.454, allocations: 113.8 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.454, allocations: 15.84 kB / 0.509 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.4543, allocations: 133.5 kB / 0.5091 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4543, allocations: 4.375 kB / 0.5092 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4543, allocations: 0 / 0.5092 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4543, allocations: 0 / 0.5092 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.4545, allocations: 177.6 kB / 0.5093 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4545, allocations: 3.938 kB / 0.5093 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.4546, allocations: 35.88 kB / 0.5094 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4546, allocations: 3.984 kB / 0.5094 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.4546, allocations: 7.984 kB / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4546, allocations: 0 / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4546, allocations: 0 / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.4549, allocations: 223.4 kB / 0.5096 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.455, allocations: 81.09 kB / 0.5097 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.455, allocations: 11.95 kB / 0.5097 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.4551, allocations: 15.98 kB / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4551, allocations: 0 / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4551, allocations: 3.984 kB / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.4552, allocations: 99.27 kB / 0.5098 GB, free: 11.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4552, allocations: 0 / 0.5098 GB, free: 11.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.4554, allocations: 12 kB / 0.5098 GB, free: 11.26 MB / 382.1 MB 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.0001236/0.4555, allocations: 107.2 kB / 0.5099 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4558, allocations: 107.9 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4558, allocations: 0 / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.456, allocations: 43.97 kB / 0.51 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.4562, allocations: 13.97 kB / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.4566, allocations: 152.6 kB / 0.5102 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4567, allocations: 0.6926 MB / 0.5109 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.4568, allocations: 8 kB / 0.5109 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.4568, allocations: 11.38 kB / 0.5109 GB, free: 10.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4568, allocations: 0 / 0.5109 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Templates: time 0.003136/0.46, allocations: 0.6395 MB / 0.5115 GB, free: 9.43 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: