Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7815/0.7815, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 171.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008127/0.0008125, allocations: 82.42 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001829/0.001829, allocations: 266.2 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005321, allocations: 23.98 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4676, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8506/1.318, allocations: 369.9 MB / 1.101 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004609/1.319, allocations: 92.12 kB / 1.101 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9577/2.276, allocations: 241.6 MB / 1.337 GB, free: 74.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/2.277, allocations: 0 / 1.337 GB, free: 74.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002434/2.277, allocations: 28 kB / 1.337 GB, free: 74.23 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005682/2.283, allocations: 1.406 MB / 1.338 GB, free: 72.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.035e-05/2.283, allocations: 12.02 kB / 1.338 GB, free: 72.75 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/2.284, allocations: 135.4 kB / 1.338 GB, free: 72.62 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/2.301, allocations: 6.965 MB / 1.345 GB, free: 65.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/2.301, allocations: 58.38 kB / 1.345 GB, free: 65.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/2.301, allocations: 80.28 kB / 1.345 GB, free: 65.42 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/2.303, allocations: 0.9756 MB / 1.346 GB, free: 64.39 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/2.303, allocations: 11.86 kB / 1.346 GB, free: 64.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/2.303, allocations: 36 kB / 1.346 GB, free: 64.35 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/2.303, allocations: 20 kB / 1.346 GB, free: 64.33 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/2.305, allocations: 0.6947 MB / 1.347 GB, free: 63.64 MB / 0.6667 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.006032/2.311, allocations: 4.523 MB / 1.351 GB, free: 58.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/2.311, allocations: 391.2 kB / 1.352 GB, free: 58.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/2.312, allocations: 265.3 kB / 1.352 GB, free: 58.12 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/2.312, allocations: 437.8 kB / 1.352 GB, free: 57.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/2.312, allocations: 42.83 kB / 1.352 GB, free: 57.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 4.068e-06/2.312, allocations: 0 / 1.352 GB, free: 57.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.001997/2.314, allocations: 0.859 MB / 1.353 GB, free: 56.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/2.314, allocations: 55.41 kB / 1.353 GB, free: 56.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/2.315, allocations: 0.8918 MB / 1.354 GB, free: 55.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/2.315, allocations: 37.7 kB / 1.354 GB, free: 55.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/2.316, allocations: 0.495 MB / 1.355 GB, free: 55.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/2.316, allocations: 149.9 kB / 1.355 GB, free: 55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/2.316, allocations: 8 kB / 1.355 GB, free: 54.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/2.316, allocations: 326 kB / 1.355 GB, free: 54.67 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/2.316, allocations: 221 kB / 1.355 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/2.317, allocations: 444.4 kB / 1.356 GB, free: 53.92 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/2.318, allocations: 0.6473 MB / 1.356 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/2.318, allocations: 4 kB / 1.356 GB, free: 53.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001504/2.319, allocations: 0.8098 MB / 1.357 GB, free: 52.37 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/2.319, allocations: 249.9 kB / 1.357 GB, free: 52.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/2.319, allocations: 4 kB / 1.357 GB, free: 52.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/2.32, allocations: 80.8 kB / 1.357 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/2.32, allocations: 115.7 kB / 1.358 GB, free: 51.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000505/2.321, allocations: 0.6343 MB / 1.358 GB, free: 51.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/2.322, allocations: 111.3 kB / 1.358 GB, free: 51.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/2.322, allocations: 31.98 kB / 1.358 GB, free: 51.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/2.322, allocations: 4 kB / 1.358 GB, free: 51.04 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/2.323, allocations: 0.6713 MB / 1.359 GB, free: 50.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/2.323, allocations: 4.688 kB / 1.359 GB, free: 50.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/2.323, allocations: 64.81 kB / 1.359 GB, free: 50.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/2.324, allocations: 115.8 kB / 1.359 GB, free: 50.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/2.325, allocations: 1.658 MB / 1.361 GB, free: 48.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/2.326, allocations: 95.47 kB / 1.361 GB, free: 48.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/2.327, allocations: 31.98 kB / 1.361 GB, free: 48.26 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007283/2.327, allocations: 484.7 kB / 1.361 GB, free: 47.78 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/2.328, allocations: 98.86 kB / 1.361 GB, free: 47.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/2.329, allocations: 0.6356 MB / 1.362 GB, free: 47.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/2.329, allocations: 15.92 kB / 1.362 GB, free: 47.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/2.329, allocations: 7.875 kB / 1.362 GB, free: 47.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006938/2.329, allocations: 0.81 MB / 1.363 GB, free: 46.11 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.002632/2.332, allocations: 1.66 MB / 1.365 GB, free: 44.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/2.332, allocations: 4 kB / 1.365 GB, free: 44.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/2.332, allocations: 84.02 kB / 1.365 GB, free: 44.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/2.332, allocations: 40.77 kB / 1.365 GB, free: 44.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/2.333, allocations: 12 kB / 1.365 GB, free: 44.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002665/2.333, allocations: 0.5717 MB / 1.365 GB, free: 43.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/2.333, allocations: 0 / 1.365 GB, free: 43.62 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/2.334, allocations: 0.9426 MB / 1.366 GB, free: 42.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/2.335, allocations: 252 kB / 1.366 GB, free: 42.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/2.335, allocations: 12 kB / 1.366 GB, free: 42.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/2.335, allocations: 71.77 kB / 1.366 GB, free: 42.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/2.335, allocations: 27.91 kB / 1.366 GB, free: 42.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/2.336, allocations: 23.98 kB / 1.367 GB, free: 42.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007916/2.336, allocations: 0.6239 MB / 1.367 GB, free: 41.63 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.3e-07/2.336, allocations: 0 / 1.367 GB, free: 41.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002239/2.339, allocations: 0.5885 MB / 1.368 GB, free: 41.04 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/2.34, allocations: 404.4 kB / 1.368 GB, free: 40.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001628/2.341, allocations: 1.012 MB / 1.369 GB, free: 39.62 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/2.341, allocations: 0 / 1.369 GB, free: 39.62 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/2.342, allocations: 239.7 kB / 1.369 GB, free: 39.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/2.344, allocations: 0.5596 MB / 1.37 GB, free: 38.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/2.348, allocations: 2.419 MB / 1.372 GB, free: 36.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008844/2.349, allocations: 1.22 MB / 1.373 GB, free: 35.12 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001361/2.35, allocations: 442.9 kB / 1.374 GB, free: 34.68 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/2.351, allocations: 79.41 kB / 1.374 GB, free: 34.61 MB / 0.6667 GB Notification: Performance of SimCode: time 5.41e-07/2.351, allocations: 0 / 1.374 GB, free: 34.61 MB / 0.6667 GB Notification: Performance of Templates: time 0.03591/2.386, allocations: 20.42 MB / 1.394 GB, free: 14.35 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)