Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.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.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001006, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.00117/0.00117, allocations: 168.7 kB / 15.95 MB, free: 204 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.932/1.932, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.7131/0.7131, allocations: 95.62 MB / 366 MB, free: 10.36 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.0006195/0.0006198, allocations: 16.22 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4743, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow): time 0.6275/1.102, allocations: 134.4 MB / 0.6363 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006184/1.108, allocations: 2.964 MB / 0.6392 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/1.109, allocations: 19.36 kB / 0.6392 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007664/1.11, allocations: 191.1 kB / 0.6394 GB, free: 2.066 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001522/1.111, allocations: 482.3 kB / 0.6399 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/1.113, allocations: 431 kB / 0.6403 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/1.115, allocations: 1.531 MB / 0.6418 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/1.116, allocations: 286.3 kB / 0.6421 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/1.117, allocations: 396.3 kB / 0.6424 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/1.117, allocations: 349.5 kB / 0.6428 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/1.117, allocations: 15.56 kB / 0.6428 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006919/1.118, allocations: 148.6 kB / 0.6429 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/1.118, allocations: 103.9 kB / 0.643 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/1.118, allocations: 113.6 kB / 0.6431 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007159/1.119, allocations: 0.5228 MB / 0.6436 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.119, allocations: 0.875 kB / 0.6436 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.119, allocations: 0 / 0.6436 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.119, allocations: 0.5312 kB / 0.6436 GB, free: 17.91 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001109/1.12, allocations: 0.666 MB / 0.6443 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.12, allocations: 13.52 kB / 0.6443 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/1.121, allocations: 65.06 kB / 0.6444 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/1.122, allocations: 428 kB / 0.6448 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/1.122, allocations: 24.75 kB / 0.6448 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/1.122, allocations: 30.25 kB / 0.6448 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/1.123, allocations: 426.9 kB / 0.6452 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.123, allocations: 6.859 kB / 0.6452 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/1.123, allocations: 15.47 kB / 0.6453 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.123, allocations: 6.625 kB / 0.6453 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/1.123, allocations: 265.4 kB / 0.6455 GB, free: 17.01 MB / 0.4981 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.002759/1.126, allocations: 2.21 MB / 0.6477 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/1.126, allocations: 122.4 kB / 0.6478 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/1.126, allocations: 64.08 kB / 0.6479 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/1.126, allocations: 171.2 kB / 0.648 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.126, allocations: 40.52 kB / 0.6481 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/1.127, allocations: 0 / 0.6481 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.001713/1.128, allocations: 0.6317 MB / 0.6487 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.128, allocations: 109 kB / 0.6488 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/1.129, allocations: 472.1 kB / 0.6492 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/1.129, allocations: 34.36 kB / 0.6493 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/1.129, allocations: 261.9 kB / 0.6495 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/1.129, allocations: 49.58 kB / 0.6496 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/1.129, allocations: 6.656 kB / 0.6496 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.129, allocations: 351.9 kB / 0.6499 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/1.129, allocations: 72.28 kB / 0.65 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/1.13, allocations: 216.6 kB / 0.6502 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/1.13, allocations: 111.4 kB / 0.6503 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.13, allocations: 0 / 0.6503 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004604/1.13, allocations: 341.6 kB / 0.6506 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.13, allocations: 6.438 kB / 0.6506 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.13, allocations: 5.125 kB / 0.6506 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.13, allocations: 6.031 kB / 0.6506 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/1.131, allocations: 73.31 kB / 0.6507 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.131, allocations: 5.5 kB / 0.6507 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/1.131, allocations: 20.03 kB / 0.6507 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/1.131, allocations: 15.59 kB / 0.6507 GB, free: 13.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (37): * Single equations (assignments): 37 * 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 0.0001851/1.131, allocations: 181.5 kB / 0.6509 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/1.131, allocations: 48.08 kB / 0.651 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/1.132, allocations: 183.4 kB / 0.6511 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.132, allocations: 3.547 kB / 0.6511 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.132, allocations: 0.7812 kB / 0.6511 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.132, allocations: 7 kB / 0.6511 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/1.133, allocations: 0.627 MB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.133, allocations: 8.516 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/1.133, allocations: 31.58 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.133, allocations: 1.031 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.133, allocations: 2.156 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.133, allocations: 4.219 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.133, allocations: 0.5625 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/1.133, allocations: 362.8 kB / 0.6521 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/1.133, allocations: 124.3 kB / 0.6523 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/1.134, allocations: 3.312 kB / 0.6523 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/1.134, allocations: 12.88 kB / 0.6523 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/1.134, allocations: 14.27 kB / 0.6523 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/1.134, allocations: 5.688 kB / 0.6523 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003418/1.134, allocations: 326.4 kB / 0.6526 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.134, allocations: 3.594 kB / 0.6526 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005939/1.135, allocations: 135.4 kB / 0.6527 GB, free: 12.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.medium.T) * 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 (13): * Single equations (assignments): 13 * 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.0004675/1.135, allocations: 202.8 kB / 0.6529 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003393/1.136, allocations: 185.9 kB / 0.6531 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.136, allocations: 3 kB / 0.6531 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9e-05/1.136, allocations: 67.72 kB / 0.6532 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.137, allocations: 273.9 kB / 0.6534 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.138, allocations: 0.8707 MB / 0.6543 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.139, allocations: 0.8225 MB / 0.6551 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003616/1.139, allocations: 102.9 kB / 0.6552 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/1.139, allocations: 43.67 kB / 0.6552 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/1.139, allocations: 0 / 0.6552 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.01373/1.153, allocations: 8.167 MB / 0.6632 GB, free: 10.95 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: