Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.164/2.164, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 196.6 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.5 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 48.52 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2719, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1491/0.421, allocations: 168.7 MB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00664/0.4277, allocations: 4.346 MB / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008831/0.4287, allocations: 15.94 kB / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.4298, allocations: 302.5 kB / 1.387 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.4323, allocations: 0.9453 MB / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.4344, allocations: 0.7222 MB / 1.389 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00209/0.4365, allocations: 1.801 MB / 1.391 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.4371, allocations: 423.4 kB / 1.391 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.4385, allocations: 0.5914 MB / 1.392 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.4397, allocations: 475.6 kB / 1.392 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.4398, allocations: 24 kB / 1.392 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.4417, allocations: 1.002 MB / 1.393 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.4419, allocations: 199.4 kB / 1.393 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.4423, allocations: 306.5 kB / 1.394 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.4437, allocations: 1.141 MB / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4438, allocations: 0 / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.21e-07/0.4438, allocations: 0 / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.4438, allocations: 0 / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001681/0.4455, allocations: 0.9594 MB / 1.396 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4455, allocations: 11.98 kB / 1.396 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4471, allocations: 255.1 kB / 1.396 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.448, allocations: 497.3 kB / 1.397 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.4484, allocations: 80.94 kB / 1.397 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.4484, allocations: 40 kB / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4497, allocations: 0.6302 MB / 1.397 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4497, allocations: 0 / 1.397 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.4498, allocations: 23.98 kB / 1.397 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.4498, allocations: 20.98 kB / 1.397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.4513, allocations: 0.5581 MB / 1.398 GB, free: 12.38 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.4554, allocations: 2.276 MB / 1.4 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4564, allocations: 294.3 kB / 1.4 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.457, allocations: 172.7 kB / 1.401 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.457, allocations: 7.984 kB / 1.401 GB, free: 9.492 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.4571, allocations: 42.5 kB / 1.401 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 2.976e-06/0.4571, allocations: 0 / 1.401 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.005276/0.4624, allocations: 1.1 MB / 1.402 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.4625, allocations: 85.05 kB / 1.402 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.4632, allocations: 0.5495 MB / 1.402 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.4633, allocations: 33.7 kB / 1.402 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.4635, allocations: 307.4 kB / 1.403 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.4635, allocations: 39.45 kB / 1.403 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4637, allocations: 57.61 kB / 1.403 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4638, allocations: 358.8 kB / 1.403 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.4644, allocations: 195.8 kB / 1.403 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.4651, allocations: 274.3 kB / 1.403 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.4664, allocations: 418.3 kB / 1.404 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4664, allocations: 4 kB / 1.404 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00276/0.4691, allocations: 0.7329 MB / 1.405 GB, free: 5.168 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4692, allocations: 8 kB / 1.405 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4692, allocations: 96 / 1.405 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.4698, allocations: 196.6 kB / 1.405 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.4702, allocations: 67.94 kB / 1.405 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.4739, allocations: 2.091 MB / 1.407 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.4747, allocations: 83.45 kB / 1.407 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.4747, allocations: 19.98 kB / 1.407 GB, free: 2.578 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.475, allocations: 183.1 kB / 1.407 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4751, allocations: 59.38 kB / 1.407 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.4752, allocations: 48.03 kB / 1.407 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4753, allocations: 4 kB / 1.407 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4753, allocations: 3.938 kB / 1.407 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4753, allocations: 3.984 kB / 1.407 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.4784, allocations: 1.144 MB / 1.408 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4784, allocations: 0 / 1.408 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.4787, allocations: 48.02 kB / 1.408 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/0.4792, allocations: 176.7 kB / 1.409 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.4793, allocations: 4 kB / 1.409 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/0.4826, allocations: 2.041 MB / 1.411 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4826, allocations: 0 / 1.411 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.4862, allocations: 1.549 MB / 1.412 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.4865, allocations: 168.5 kB / 1.412 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4866, allocations: 7.984 kB / 1.412 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.4872, allocations: 55.94 kB / 1.412 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.4873, allocations: 15.92 kB / 1.412 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.4874, allocations: 15.98 kB / 1.412 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004764/0.4878, allocations: 394.8 kB / 1.413 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4878, allocations: 0 / 1.413 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000787/0.4886, allocations: 187.7 kB / 1.413 GB, free: 12.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004478/0.4891, allocations: 178.1 kB / 1.413 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.4908, allocations: 0.5241 MB / 1.414 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4908, allocations: 3.938 kB / 1.414 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.4915, allocations: 307 kB / 1.414 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.493, allocations: 294.3 kB / 1.414 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.4964, allocations: 1.386 MB / 1.416 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.4968, allocations: 0.8663 MB / 1.416 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004542/0.4972, allocations: 104.4 kB / 1.416 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.4973, allocations: 39.42 kB / 1.417 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.4973, allocations: 3.938 kB / 1.417 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of Templates: time 0.5151/1.012, allocations: 12.12 MB / 1.428 GB, free: 202.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)