Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001194/0.001194, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001494/0.001494, allocations: 172.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.966/1.966, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.6955/0.6955, allocations: 95.62 MB / 366 MB, free: 10.43 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.0006256/0.000626, allocations: 16 kB / 446.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4625, allocations: 70.33 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6505/1.113, allocations: 134 MB / 0.6359 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009236/1.122, allocations: 3.956 MB / 0.6397 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/1.124, allocations: 19.34 kB / 0.6398 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/1.125, allocations: 192.8 kB / 0.6399 GB, free: 1.914 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.002491/1.128, allocations: 0.5973 MB / 0.6405 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/1.13, allocations: 0.606 MB / 0.6411 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003037/1.133, allocations: 1.629 MB / 0.6427 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006865/1.134, allocations: 342 kB / 0.643 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/1.135, allocations: 482.9 kB / 0.6435 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/1.136, allocations: 476.7 kB / 0.644 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/1.136, allocations: 25.41 kB / 0.644 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/1.137, allocations: 334.4 kB / 0.6443 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/1.138, allocations: 110.3 kB / 0.6444 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/1.138, allocations: 133.9 kB / 0.6445 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008157/1.139, allocations: 0.6131 MB / 0.6451 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.139, allocations: 0 / 0.6451 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.006e-06/1.139, allocations: 1.859 kB / 0.6451 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.139, allocations: 0 / 0.6451 GB, free: 17.73 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001417/1.14, allocations: 0.7519 MB / 0.6459 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.14, allocations: 15.41 kB / 0.6459 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/1.141, allocations: 69.53 kB / 0.6459 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000995/1.142, allocations: 464.1 kB / 0.6464 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/1.142, allocations: 26.16 kB / 0.6464 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/1.142, allocations: 38.19 kB / 0.6465 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/1.143, allocations: 486 kB / 0.6469 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.143, allocations: 0.5312 kB / 0.6469 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.143, allocations: 19.94 kB / 0.6469 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/1.143, allocations: 17.27 kB / 0.647 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/1.144, allocations: 367.4 kB / 0.6473 GB, free: 16.81 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.002343/1.146, allocations: 1.898 MB / 0.6492 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/1.147, allocations: 281.9 kB / 0.6494 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/1.147, allocations: 137.9 kB / 0.6496 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/1.147, allocations: 499 kB / 0.65 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/1.148, allocations: 38.73 kB / 0.6501 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=27): time 2.816e-06/1.148, allocations: 4 kB / 0.6501 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=27): time 0.001754/1.149, allocations: 0.5633 MB / 0.6506 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/1.149, allocations: 106.4 kB / 0.6507 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/1.15, allocations: 367.5 kB / 0.6511 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/1.15, allocations: 35.44 kB / 0.6511 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/1.15, allocations: 248 kB / 0.6513 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/1.15, allocations: 89.78 kB / 0.6514 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.15, allocations: 6 kB / 0.6514 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.151, allocations: 352.9 kB / 0.6518 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/1.151, allocations: 103.3 kB / 0.6519 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/1.151, allocations: 194.7 kB / 0.6521 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.152, allocations: 130.9 kB / 0.6522 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.152, allocations: 2.688 kB / 0.6522 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000751/1.152, allocations: 428.3 kB / 0.6526 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.152, allocations: 8.938 kB / 0.6526 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.152, allocations: 2.938 kB / 0.6526 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/1.153, allocations: 72.33 kB / 0.6527 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/1.153, allocations: 77.31 kB / 0.6527 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005639/1.154, allocations: 0.6346 MB / 0.6534 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/1.154, allocations: 49.2 kB / 0.6534 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/1.154, allocations: 12.12 kB / 0.6534 GB, free: 13.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002723/1.154, allocations: 178.7 kB / 0.6536 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/1.154, allocations: 45.12 kB / 0.6536 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/1.155, allocations: 398.2 kB / 0.654 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.155, allocations: 5.812 kB / 0.654 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.155, allocations: 0 / 0.654 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.155, allocations: 1.859 kB / 0.654 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/1.157, allocations: 1.115 MB / 0.6551 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.157, allocations: 6.109 kB / 0.6551 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/1.157, allocations: 56.38 kB / 0.6552 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/1.157, allocations: 70.81 kB / 0.6552 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.157, allocations: 14.27 kB / 0.6553 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004915/1.158, allocations: 0.6389 MB / 0.6559 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.158, allocations: 7.25 kB / 0.6559 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/1.159, allocations: 499.2 kB / 0.6564 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/1.159, allocations: 124.7 kB / 0.6565 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/1.159, allocations: 9.156 kB / 0.6565 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/1.159, allocations: 46.89 kB / 0.6565 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/1.159, allocations: 20.59 kB / 0.6566 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/1.159, allocations: 18.25 kB / 0.6566 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002917/1.16, allocations: 259.8 kB / 0.6568 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.16, allocations: 0 / 0.6568 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006966/1.16, allocations: 166.8 kB / 0.657 GB, free: 11.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006355/1.161, allocations: 231.5 kB / 0.6572 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000745/1.162, allocations: 280.4 kB / 0.6575 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.162, allocations: 0 / 0.6575 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/1.162, allocations: 148.3 kB / 0.6576 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.163, allocations: 267.6 kB / 0.6579 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.165, allocations: 1.019 MB / 0.6589 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/1.166, allocations: 0.8382 MB / 0.6597 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004674/1.166, allocations: 88.73 kB / 0.6598 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/1.166, allocations: 36.48 kB / 0.6598 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/1.166, allocations: 4 kB / 0.6598 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.01863/1.185, allocations: 9.149 MB / 0.6687 GB, free: 8.215 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: