Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_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_latest_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.001423/0.001423, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001411/0.001411, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8191, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.186/1.005, allocations: 171.1 MB / 1.393 GB, free: 1.797 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00705/1.012, allocations: 4.302 MB / 1.398 GB, free: 13.49 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007897/1.013, allocations: 19.88 kB / 1.398 GB, free: 13.47 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/1.014, allocations: 373.9 kB / 1.398 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003423/1.018, allocations: 1.256 MB / 1.399 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/1.02, allocations: 0.8127 MB / 1.4 GB, free: 11.03 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002458/1.023, allocations: 1.691 MB / 1.402 GB, free: 9.336 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/1.024, allocations: 0.5655 MB / 1.402 GB, free: 8.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/1.025, allocations: 0.7161 MB / 1.403 GB, free: 8.051 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/1.027, allocations: 0.5488 MB / 1.403 GB, free: 7.5 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/1.027, allocations: 68 kB / 1.403 GB, free: 7.434 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/1.029, allocations: 0.8029 MB / 1.404 GB, free: 6.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/1.029, allocations: 267.2 kB / 1.405 GB, free: 6.367 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006738/1.03, allocations: 402.3 kB / 1.405 GB, free: 5.973 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/1.032, allocations: 1.281 MB / 1.406 GB, free: 4.688 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.032, allocations: 0 / 1.406 GB, free: 4.688 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.263e-06/1.032, allocations: 0 / 1.406 GB, free: 4.688 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.103e-05/1.032, allocations: 0 / 1.406 GB, free: 4.688 MB / 1.123 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.00218/1.034, allocations: 1.051 MB / 1.407 GB, free: 3.582 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.034, allocations: 8.031 kB / 1.407 GB, free: 3.574 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.035, allocations: 167.4 kB / 1.407 GB, free: 3.41 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/1.036, allocations: 0.5526 MB / 1.408 GB, free: 2.816 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/1.036, allocations: 37.31 kB / 1.408 GB, free: 2.781 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/1.037, allocations: 52 kB / 1.408 GB, free: 2.73 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/1.038, allocations: 0.6479 MB / 1.409 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/1.038, allocations: 0 / 1.409 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/1.038, allocations: 24 kB / 1.409 GB, free: 2.043 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/1.038, allocations: 21.31 kB / 1.409 GB, free: 2.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/1.039, allocations: 0.5164 MB / 1.409 GB, free: 1.504 MB / 1.123 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.003631/1.042, allocations: 2.298 MB / 1.411 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/1.043, allocations: 254.8 kB / 1.412 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/1.043, allocations: 132.8 kB / 1.412 GB, free: 14.65 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/1.043, allocations: 15.86 kB / 1.412 GB, free: 14.63 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/1.043, allocations: 38.56 kB / 1.412 GB, free: 14.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/1.043, allocations: 0 / 1.412 GB, free: 14.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001752/1.045, allocations: 0.6707 MB / 1.412 GB, free: 13.87 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.045, allocations: 81.11 kB / 1.413 GB, free: 13.77 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/1.046, allocations: 0.5613 MB / 1.413 GB, free: 13.2 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/1.046, allocations: 37.7 kB / 1.413 GB, free: 13.16 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/1.046, allocations: 335.8 kB / 1.413 GB, free: 12.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/1.046, allocations: 79.34 kB / 1.414 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.046, allocations: 69.98 kB / 1.414 GB, free: 12.67 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.047, allocations: 362.7 kB / 1.414 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/1.047, allocations: 132.6 kB / 1.414 GB, free: 12.18 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/1.047, allocations: 218.6 kB / 1.414 GB, free: 11.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/1.048, allocations: 332.8 kB / 1.415 GB, free: 11.58 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.048, allocations: 4 kB / 1.415 GB, free: 11.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009686/1.049, allocations: 494.7 kB / 1.415 GB, free: 11.08 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.049, allocations: 10.31 kB / 1.415 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.049, allocations: 4 kB / 1.415 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/1.049, allocations: 101.6 kB / 1.415 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/1.049, allocations: 71.91 kB / 1.415 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/1.053, allocations: 3.342 MB / 1.419 GB, free: 7.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/1.053, allocations: 59.61 kB / 1.419 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/1.053, allocations: 12 kB / 1.419 GB, free: 7.199 MB / 1.139 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.0003056/1.054, allocations: 217.7 kB / 1.419 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.054, allocations: 55.67 kB / 1.419 GB, free: 6.922 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/1.054, allocations: 56.5 kB / 1.419 GB, free: 6.867 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007432/1.055, allocations: 0.5383 MB / 1.419 GB, free: 6.258 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.055, allocations: 0 / 1.419 GB, free: 6.258 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/1.055, allocations: 164.9 kB / 1.42 GB, free: 6.078 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/1.055, allocations: 8 kB / 1.42 GB, free: 6.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/1.055, allocations: 23.52 kB / 1.42 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/1.055, allocations: 11.97 kB / 1.42 GB, free: 6.039 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009744/1.056, allocations: 419.4 kB / 1.42 GB, free: 5.621 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000841/1.057, allocations: 0.6031 MB / 1.421 GB, free: 5.004 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002182/1.057, allocations: 104 kB / 1.421 GB, free: 4.902 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000475/1.058, allocations: 402.8 kB / 1.421 GB, free: 4.512 MB / 1.139 GB Notification: Performance of Backend: time 3.2e-07/1.058, allocations: 0 / 1.421 GB, free: 4.512 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001792/1.06, allocations: 0.7167 MB / 1.422 GB, free: 3.77 MB / 1.139 GB Notification: Performance of SimCode: time 0.002896/1.063, allocations: 1.731 MB / 1.423 GB, free: 1.988 MB / 1.139 GB Notification: Performance of Templates: time 0.02437/1.087, allocations: 14.42 MB / 1.438 GB, free: 3.738 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)