Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002824/0.002824, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.81 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.365, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1966/0.5616, allocations: 168.7 MB / 1.232 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007003/0.5687, allocations: 4.279 MB / 1.237 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.5697, allocations: 15.94 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5711, allocations: 306.5 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.5738, allocations: 0.9414 MB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.576, allocations: 0.7316 MB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.5777, allocations: 1.298 MB / 1.24 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.5785, allocations: 479.3 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.58, allocations: 0.6655 MB / 1.241 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.5812, allocations: 489.7 kB / 1.241 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.5814, allocations: 52 kB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.5832, allocations: 0.9392 MB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.5836, allocations: 215.4 kB / 1.243 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.5842, allocations: 330.5 kB / 1.243 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.5863, allocations: 1.176 MB / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5863, allocations: 4 kB / 1.244 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5863, allocations: 0 / 1.244 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.5864, allocations: 0 / 1.244 GB, free: 5.555 MB / 0.9981 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.001886/0.5883, allocations: 0.9506 MB / 1.245 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5883, allocations: 8.031 kB / 1.245 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.59, allocations: 263 kB / 1.245 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.5909, allocations: 485.5 kB / 1.246 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.5913, allocations: 88.86 kB / 1.246 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.5913, allocations: 40 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.5926, allocations: 0.6185 MB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5926, allocations: 4 kB / 1.246 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.5927, allocations: 20 kB / 1.246 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.5927, allocations: 20.94 kB / 1.246 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.5942, allocations: 0.5581 MB / 1.247 GB, free: 2.402 MB / 0.9981 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.6402/1.234, allocations: 2.277 MB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.236, allocations: 288.6 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/1.236, allocations: 174.1 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/1.236, allocations: 2.172 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.236, allocations: 37.41 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/1.236, allocations: 0 / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005698/1.242, allocations: 1.105 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/1.242, allocations: 85.48 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/1.243, allocations: 0.5546 MB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/1.243, allocations: 31.17 kB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/1.243, allocations: 300.4 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/1.243, allocations: 38.28 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.243, allocations: 64.66 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/1.244, allocations: 353.9 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/1.244, allocations: 194.6 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/1.245, allocations: 269.6 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.246, allocations: 420.5 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.246, allocations: 0.625 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002845/1.249, allocations: 0.7337 MB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.249, allocations: 7.031 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.249, allocations: 3.062 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/1.25, allocations: 192.7 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/1.25, allocations: 72 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/1.254, allocations: 2.236 MB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/1.255, allocations: 84.39 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.255, allocations: 15.91 kB / 1.256 GB, free: 183.7 MB / 0.9981 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.0002869/1.255, allocations: 190.8 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/1.255, allocations: 49.88 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/1.256, allocations: 53.56 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.256, allocations: 1.531 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.256, allocations: 0 / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.256, allocations: 1.203 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/1.259, allocations: 1.15 MB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.259, allocations: 0 / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/1.259, allocations: 43.81 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/1.259, allocations: 182.8 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/1.259, allocations: 7.438 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/1.263, allocations: 2.181 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/1.263, allocations: 7.688 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/1.265, allocations: 0.7175 MB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/1.266, allocations: 168.9 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/1.266, allocations: 0.7031 kB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/1.266, allocations: 60.92 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/1.266, allocations: 18.25 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/1.266, allocations: 14.25 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004848/1.267, allocations: 393.4 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.162e-06/1.267, allocations: 0 / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007236/1.268, allocations: 185.7 kB / 1.262 GB, free: 181.3 MB / 0.9981 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.0004635/1.268, allocations: 167.8 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.27, allocations: 0.5403 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.27, allocations: 6.562 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007691/1.271, allocations: 313.6 kB / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.272, allocations: 313.7 kB / 1.263 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/1.275, allocations: 1.233 MB / 1.264 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/1.276, allocations: 0.8647 MB / 1.265 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005086/1.276, allocations: 98.88 kB / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/1.276, allocations: 38.84 kB / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.276, allocations: 0 / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02751/1.304, allocations: 12.29 MB / 1.277 GB, free: 176.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)