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.001083/0.001083, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001119/0.001119, allocations: 197.4 kB / 16.26 MB, free: 6.621 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.491/1.491, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.787/1.787, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001477/0.001477, allocations: 67.41 kB / 0.671 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2421, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7168/0.9589, allocations: 168.8 MB / 0.9476 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006541/0.9655, allocations: 4.242 MB / 0.9518 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.9668, allocations: 16.09 kB / 0.9518 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.9679, allocations: 315.6 kB / 0.9521 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.9716, allocations: 1.143 MB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.9738, allocations: 0.7233 MB / 0.9539 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003121/0.977, allocations: 1.675 MB / 0.9556 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.978, allocations: 0.5558 MB / 0.9561 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.9798, allocations: 0.6809 MB / 0.9568 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.9813, allocations: 0.5929 MB / 0.9574 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.9814, allocations: 65.56 kB / 0.9574 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.9835, allocations: 0.8341 MB / 0.9582 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.9839, allocations: 270.4 kB / 0.9585 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007801/0.9847, allocations: 404.2 kB / 0.9589 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.9867, allocations: 1.315 MB / 0.9602 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9867, allocations: 0 / 0.9602 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9868, allocations: 0 / 0.9602 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.9868, allocations: 5.125 kB / 0.9602 GB, free: 5.562 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.001985/0.9888, allocations: 1.028 MB / 0.9612 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9888, allocations: 13.66 kB / 0.9612 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.9898, allocations: 158.9 kB / 0.9613 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.9906, allocations: 0.5157 MB / 0.9618 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.9907, allocations: 40.41 kB / 0.9619 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.9907, allocations: 56.12 kB / 0.9619 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.9918, allocations: 0.6518 MB / 0.9626 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.9918, allocations: 3.984 kB / 0.9626 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.9919, allocations: 24.98 kB / 0.9626 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.9919, allocations: 21.12 kB / 0.9626 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.9928, allocations: 0.5168 MB / 0.9631 GB, free: 20.57 MB / 0.7481 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.003131/0.9959, allocations: 2.299 MB / 0.9654 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.9964, allocations: 259.6 kB / 0.9656 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.9966, allocations: 134.3 kB / 0.9657 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.9967, allocations: 6.188 kB / 0.9657 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.9967, allocations: 41.02 kB / 0.9658 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/0.9967, allocations: 0 / 0.9658 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001596/0.9983, allocations: 0.6765 MB / 0.9664 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.9984, allocations: 79.3 kB / 0.9665 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.999, allocations: 0.5577 MB / 0.9671 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.9991, allocations: 37 kB / 0.9671 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.9993, allocations: 326.2 kB / 0.9674 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.9993, allocations: 69.84 kB / 0.9675 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.9994, allocations: 72.19 kB / 0.9675 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9996, allocations: 363.7 kB / 0.9679 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.9998, allocations: 127.3 kB / 0.968 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1, allocations: 227.6 kB / 0.9682 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/1.001, allocations: 324.7 kB / 0.9685 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.001, allocations: 6.438 kB / 0.9685 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008305/1.001, allocations: 0.494 MB / 0.969 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.001, allocations: 10.47 kB / 0.969 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.001, allocations: 5.562 kB / 0.969 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/1.002, allocations: 96.36 kB / 0.9691 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.002, allocations: 70.72 kB / 0.9692 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/1.005, allocations: 3.359 MB / 0.9725 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/1.006, allocations: 56.39 kB / 0.9725 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/1.006, allocations: 13.59 kB / 0.9725 GB, free: 15.31 MB / 0.7481 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.0003453/1.006, allocations: 225.6 kB / 0.9728 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.006, allocations: 56.28 kB / 0.9728 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.809e-05/1.006, allocations: 55.73 kB / 0.9729 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.006, allocations: 2.125 kB / 0.9729 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.006, allocations: 3.938 kB / 0.9729 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007267/1.007, allocations: 0.5328 MB / 0.9734 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.008, allocations: 0.9113 MB / 0.9743 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.008, allocations: 1.062 kB / 0.9743 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/1.009, allocations: 45.75 kB / 0.9743 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/1.009, allocations: 68.75 kB / 0.9744 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.009, allocations: 1.312 kB / 0.9744 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/1.01, allocations: 1.827 MB / 0.9762 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.01, allocations: 1.406 kB / 0.9762 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/1.011, allocations: 437.2 kB / 0.9766 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/1.011, allocations: 171.2 kB / 0.9768 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/1.011, allocations: 9.688 kB / 0.9768 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/1.012, allocations: 34.72 kB / 0.9768 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/1.012, allocations: 21.44 kB / 0.9768 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/1.012, allocations: 18.42 kB / 0.9768 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000481/1.013, allocations: 392.1 kB / 0.9772 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.013, allocations: 2.297 kB / 0.9772 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008265/1.013, allocations: 212.8 kB / 0.9774 GB, free: 12.65 MB / 0.7481 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.0003687/1.014, allocations: 159.8 kB / 0.9776 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008998/1.015, allocations: 0.549 MB / 0.9781 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.015, allocations: 5.312 kB / 0.9781 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/1.015, allocations: 257 kB / 0.9784 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.017, allocations: 370.6 kB / 0.9787 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.018, allocations: 1.187 MB / 0.9799 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/1.019, allocations: 0.9041 MB / 0.9808 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004865/1.019, allocations: 115 kB / 0.9809 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/1.019, allocations: 38.44 kB / 0.9809 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/1.019, allocations: 0 / 0.9809 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.01876/1.038, allocations: 12.9 MB / 0.9935 GB, free: 8.395 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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)