Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.001671/0.001671, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8075, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2011/1.009, allocations: 171.1 MB / 1.256 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007529/1.016, allocations: 4.296 MB / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/1.017, allocations: 23.94 kB / 1.26 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/1.019, allocations: 373.9 kB / 1.26 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003431/1.022, allocations: 1.256 MB / 1.261 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/1.025, allocations: 0.8057 MB / 1.262 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002345/1.027, allocations: 1.703 MB / 1.264 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009242/1.028, allocations: 0.562 MB / 1.264 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/1.029, allocations: 0.7162 MB / 1.265 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/1.031, allocations: 0.541 MB / 1.266 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/1.031, allocations: 72 kB / 1.266 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/1.033, allocations: 0.8067 MB / 1.267 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/1.033, allocations: 263.3 kB / 1.267 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006268/1.034, allocations: 406.3 kB / 1.267 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/1.036, allocations: 1.264 MB / 1.268 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.036, allocations: 0 / 1.268 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.036, allocations: 0 / 1.268 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.802e-05/1.036, allocations: 0 / 1.268 GB, free: 5.562 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002155/1.038, allocations: 1.033 MB / 1.269 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.038, allocations: 12.03 kB / 1.269 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.039, allocations: 163 kB / 1.27 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/1.04, allocations: 0.5444 MB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/1.04, allocations: 37.31 kB / 1.27 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/1.04, allocations: 59.98 kB / 1.27 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/1.041, allocations: 0.6518 MB / 1.271 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.041, allocations: 4 kB / 1.271 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/1.041, allocations: 23.94 kB / 1.271 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/1.041, allocations: 25.31 kB / 1.271 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/1.042, allocations: 0.5126 MB / 1.271 GB, free: 2.391 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.004117/1.047, allocations: 2.289 MB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/1.047, allocations: 258.8 kB / 1.274 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/1.047, allocations: 132.8 kB / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/1.047, allocations: 11.92 kB / 1.274 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.047, allocations: 38.55 kB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/1.048, allocations: 4 kB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001835/1.049, allocations: 0.6674 MB / 1.275 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.049, allocations: 77.11 kB / 1.275 GB, free: 14.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/1.05, allocations: 0.5613 MB / 1.275 GB, free: 14.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/1.05, allocations: 33.64 kB / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/1.05, allocations: 339.1 kB / 1.276 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/1.051, allocations: 67 kB / 1.276 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.051, allocations: 69.94 kB / 1.276 GB, free: 13.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.051, allocations: 362.7 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/1.051, allocations: 136.6 kB / 1.276 GB, free: 13.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/1.051, allocations: 210.6 kB / 1.276 GB, free: 12.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/1.052, allocations: 332.9 kB / 1.277 GB, free: 12.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.052, allocations: 7.984 kB / 1.277 GB, free: 12.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009704/1.053, allocations: 494.3 kB / 1.277 GB, free: 11.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.053, allocations: 4.281 kB / 1.277 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.053, allocations: 8 kB / 1.277 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/1.053, allocations: 101.6 kB / 1.277 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/1.054, allocations: 63.91 kB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/1.057, allocations: 3.342 MB / 1.281 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/1.057, allocations: 67.36 kB / 1.281 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/1.057, allocations: 8 kB / 1.281 GB, free: 8.113 MB / 1.014 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/1.057, allocations: 217.7 kB / 1.281 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.058, allocations: 51.62 kB / 1.281 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.058, allocations: 52.5 kB / 1.281 GB, free: 7.789 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007089/1.058, allocations: 0.5344 MB / 1.282 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.058, allocations: 4 kB / 1.282 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/1.059, allocations: 176.3 kB / 1.282 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/1.059, allocations: 3.938 kB / 1.282 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/1.059, allocations: 19.86 kB / 1.282 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/1.059, allocations: 15.98 kB / 1.282 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009466/1.06, allocations: 421.4 kB / 1.282 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008251/1.061, allocations: 0.5921 MB / 1.283 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002145/1.061, allocations: 104 kB / 1.283 GB, free: 5.824 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004406/1.062, allocations: 402.8 kB / 1.283 GB, free: 5.434 MB / 1.014 GB Notification: Performance of Backend: time 3.7e-07/1.062, allocations: 0 / 1.283 GB, free: 5.434 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001681/1.063, allocations: 0.7038 MB / 1.284 GB, free: 4.711 MB / 1.014 GB Notification: Performance of SimCode: time 0.002819/1.066, allocations: 1.712 MB / 1.286 GB, free: 2.945 MB / 1.014 GB Notification: Performance of Templates: time 0.02423/1.091, allocations: 14.44 MB / 1.3 GB, free: 4.711 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)