Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001156/0.001156, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01005/0.01005, allocations: 171.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005267/0.0005267, allocations: 17.97 kB / 0.6743 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.8092/1.054, allocations: 166.6 MB / 0.9506 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007952/1.062, allocations: 4.285 MB / 0.9547 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.063, allocations: 14.09 kB / 0.9548 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/1.065, allocations: 309 kB / 0.955 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003993/1.069, allocations: 1.139 MB / 0.9562 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/1.071, allocations: 0.7272 MB / 0.9569 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0036/1.075, allocations: 2.337 MB / 0.9592 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/1.076, allocations: 474.9 kB / 0.9596 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/1.077, allocations: 0.5709 MB / 0.9602 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/1.079, allocations: 0.5539 MB / 0.9607 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/1.079, allocations: 26.94 kB / 0.9607 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/1.081, allocations: 0.9105 MB / 0.9616 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/1.081, allocations: 224.5 kB / 0.9618 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004852/1.082, allocations: 383.8 kB / 0.9622 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/1.084, allocations: 1.259 MB / 0.9634 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.084, allocations: 0 / 0.9634 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.255e-06/1.084, allocations: 1.344 kB / 0.9634 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.084, allocations: 0 / 0.9634 GB, free: 15.02 MB / 0.7325 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.001868/1.086, allocations: 0.8987 MB / 0.9643 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.086, allocations: 9.188 kB / 0.9643 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.087, allocations: 162.3 kB / 0.9645 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/1.087, allocations: 0.5217 MB / 0.965 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/1.088, allocations: 41.19 kB / 0.965 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/1.088, allocations: 52 kB / 0.9651 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.089, allocations: 0.6545 MB / 0.9657 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.089, allocations: 0 / 0.9657 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/1.089, allocations: 25.09 kB / 0.9657 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/1.089, allocations: 24.42 kB / 0.9658 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009909/1.09, allocations: 0.5265 MB / 0.9663 GB, free: 14.01 MB / 0.7325 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.003489/1.094, allocations: 2.306 MB / 0.9685 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/1.094, allocations: 270.2 kB / 0.9688 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/1.094, allocations: 144.6 kB / 0.9689 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/1.094, allocations: 2.938 kB / 0.9689 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.094, allocations: 37.06 kB / 0.969 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/1.094, allocations: 0 / 0.969 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001826/1.096, allocations: 0.6863 MB / 0.9696 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.096, allocations: 79.83 kB / 0.9697 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/1.097, allocations: 0.5576 MB / 0.9702 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/1.097, allocations: 28.45 kB / 0.9703 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/1.097, allocations: 330.6 kB / 0.9706 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/1.097, allocations: 76.23 kB / 0.9707 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/1.098, allocations: 32.83 kB / 0.9707 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.098, allocations: 363.1 kB / 0.971 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/1.098, allocations: 131.8 kB / 0.9712 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/1.098, allocations: 231.6 kB / 0.9714 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/1.099, allocations: 339.4 kB / 0.9717 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.099, allocations: 0 / 0.9717 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000971/1.1, allocations: 0.5001 MB / 0.9722 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.1, allocations: 6 kB / 0.9722 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.1, allocations: 6.875 kB / 0.9722 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/1.1, allocations: 98.36 kB / 0.9723 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/1.101, allocations: 73.44 kB / 0.9724 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/1.104, allocations: 3.107 MB / 0.9754 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/1.105, allocations: 70.92 kB / 0.9755 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/1.105, allocations: 13.77 kB / 0.9755 GB, free: 8.137 MB / 0.7325 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.0004175/1.105, allocations: 221.9 kB / 0.9757 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/1.105, allocations: 61.59 kB / 0.9758 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/1.105, allocations: 54.67 kB / 0.9758 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.105, allocations: 3 kB / 0.9758 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.105, allocations: 0 / 0.9758 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007238/1.106, allocations: 0.5499 MB / 0.9764 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/1.107, allocations: 0.9139 MB / 0.9772 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.107, allocations: 0 / 0.9772 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/1.108, allocations: 51 kB / 0.9773 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/1.108, allocations: 76.73 kB / 0.9774 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.108, allocations: 6.969 kB / 0.9774 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/1.109, allocations: 1.677 MB / 0.979 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.109, allocations: 0 / 0.979 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/1.11, allocations: 454.8 kB / 0.9794 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/1.11, allocations: 170.5 kB / 0.9796 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/1.11, allocations: 7.75 kB / 0.9796 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/1.111, allocations: 39.02 kB / 0.9797 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.111, allocations: 22.03 kB / 0.9797 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/1.111, allocations: 13.77 kB / 0.9797 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005352/1.112, allocations: 398.5 kB / 0.9801 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 0 / 0.9801 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009567/1.113, allocations: 214.6 kB / 0.9803 GB, free: 5.047 MB / 0.7325 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004725/1.113, allocations: 159.2 kB / 0.9804 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009961/1.114, allocations: 0.5398 MB / 0.9809 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.114, allocations: 0 / 0.9809 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/1.115, allocations: 261.4 kB / 0.9812 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/1.116, allocations: 372.9 kB / 0.9816 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/1.118, allocations: 1.226 MB / 0.9828 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/1.119, allocations: 0.9142 MB / 0.9836 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004831/1.119, allocations: 113.2 kB / 0.9838 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/1.119, allocations: 37.34 kB / 0.9838 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of SimCode: time 4.6e-07/1.119, allocations: 0 / 0.9838 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of Templates: time 0.02406/1.144, allocations: 12.35 MB / 0.9958 GB, free: 12.79 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: