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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.831/0.831, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 186.9 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 447.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.25 kB / 0.5188 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 266.3 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004527, allocations: 16 kB / 0.6929 GB, free: 2.336 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4529, allocations: 82.78 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8468/1.3, allocations: 371.9 MB / 1.137 GB, free: 148 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.3, allocations: 97.77 kB / 1.137 GB, free: 96 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9266/2.227, allocations: 247.5 MB / 1.379 GB, free: 76.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/2.227, allocations: 0 / 1.379 GB, free: 76.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.648e-05/2.227, allocations: 31.98 kB / 1.379 GB, free: 76.15 MB / 0.698 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.002473/2.229, allocations: 1.403 MB / 1.38 GB, free: 74.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/2.229, allocations: 8.031 kB / 1.38 GB, free: 74.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004089/2.23, allocations: 138.5 kB / 1.38 GB, free: 74.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/2.244, allocations: 7.797 MB / 1.388 GB, free: 66.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/2.245, allocations: 61.98 kB / 1.388 GB, free: 66.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/2.245, allocations: 76 kB / 1.388 GB, free: 66.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/2.246, allocations: 0.9669 MB / 1.389 GB, free: 65.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/2.246, allocations: 3.938 kB / 1.389 GB, free: 65.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/2.246, allocations: 32 kB / 1.389 GB, free: 65.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/2.246, allocations: 27.98 kB / 1.389 GB, free: 65.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/2.247, allocations: 0.6986 MB / 1.39 GB, free: 64.74 MB / 0.698 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.004617/2.252, allocations: 4.538 MB / 1.394 GB, free: 59.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/2.252, allocations: 389.7 kB / 1.395 GB, free: 59.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/2.253, allocations: 433.8 kB / 1.395 GB, free: 58.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/2.253, allocations: 42.89 kB / 1.395 GB, free: 58.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.946e-06/2.253, allocations: 0 / 1.395 GB, free: 58.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001512/2.254, allocations: 0.8373 MB / 1.396 GB, free: 58.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/2.254, allocations: 55.41 kB / 1.396 GB, free: 57.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/2.255, allocations: 0.8286 MB / 1.397 GB, free: 57.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/2.255, allocations: 37.7 kB / 1.397 GB, free: 57.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/2.255, allocations: 0.4989 MB / 1.397 GB, free: 56.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/2.255, allocations: 146 kB / 1.397 GB, free: 56.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/2.255, allocations: 8 kB / 1.397 GB, free: 56.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/2.256, allocations: 337.9 kB / 1.398 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/2.256, allocations: 217 kB / 1.398 GB, free: 55.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/2.256, allocations: 440.3 kB / 1.398 GB, free: 55.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/2.257, allocations: 318.4 kB / 1.399 GB, free: 55.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.257, allocations: 0 / 1.399 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001017/2.258, allocations: 0.7829 MB / 1.399 GB, free: 54.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004395/2.258, allocations: 2.185 MB / 1.401 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/2.258, allocations: 8 kB / 1.401 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/2.258, allocations: 72.73 kB / 1.402 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/2.259, allocations: 111.8 kB / 1.402 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003637/2.259, allocations: 0.6304 MB / 1.402 GB, free: 51.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/2.26, allocations: 115.3 kB / 1.402 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/2.26, allocations: 24 kB / 1.402 GB, free: 50.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/2.26, allocations: 4 kB / 1.402 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008922/2.261, allocations: 0.6762 MB / 1.403 GB, free: 50.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/2.261, allocations: 4 kB / 1.403 GB, free: 50.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/2.261, allocations: 60.86 kB / 1.403 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/2.261, allocations: 119.8 kB / 1.403 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/2.263, allocations: 1.662 MB / 1.405 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/2.263, allocations: 99.42 kB / 1.405 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/2.263, allocations: 31.98 kB / 1.405 GB, free: 48.12 MB / 0.698 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.0006718/2.264, allocations: 488.7 kB / 1.405 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/2.264, allocations: 86.97 kB / 1.406 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009102/2.265, allocations: 0.6464 MB / 1.406 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/2.265, allocations: 4 kB / 1.406 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/2.265, allocations: 4 kB / 1.406 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006244/2.266, allocations: 0.8167 MB / 1.407 GB, free: 45.98 MB / 0.698 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.002202/2.268, allocations: 1.672 MB / 1.409 GB, free: 44.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/2.268, allocations: 4.125 kB / 1.409 GB, free: 44.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/2.268, allocations: 87.89 kB / 1.409 GB, free: 44.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/2.268, allocations: 28.84 kB / 1.409 GB, free: 44.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/2.268, allocations: 19.98 kB / 1.409 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000274/2.269, allocations: 0.5563 MB / 1.409 GB, free: 43.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/2.269, allocations: 4.094 kB / 1.409 GB, free: 43.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/2.27, allocations: 0.9981 MB / 1.41 GB, free: 42.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/2.27, allocations: 267.8 kB / 1.411 GB, free: 42.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/2.27, allocations: 8 kB / 1.411 GB, free: 42.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/2.271, allocations: 67.78 kB / 1.411 GB, free: 42.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/2.271, allocations: 39.91 kB / 1.411 GB, free: 42.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/2.271, allocations: 27.92 kB / 1.411 GB, free: 42.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006707/2.272, allocations: 0.6512 MB / 1.411 GB, free: 41.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.272, allocations: 0 / 1.411 GB, free: 41.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001915/2.274, allocations: 0.5925 MB / 1.412 GB, free: 40.78 MB / 0.698 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.0007669/2.274, allocations: 403.5 kB / 1.412 GB, free: 40.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001393/2.276, allocations: 0.9999 MB / 1.413 GB, free: 39.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/2.276, allocations: 0 / 1.413 GB, free: 39.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/2.276, allocations: 240.4 kB / 1.413 GB, free: 39.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/2.278, allocations: 0.5546 MB / 1.414 GB, free: 38.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/2.281, allocations: 2.407 MB / 1.416 GB, free: 36.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/2.282, allocations: 1.243 MB / 1.418 GB, free: 34.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001154/2.283, allocations: 422.9 kB / 1.418 GB, free: 34.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/2.283, allocations: 83.41 kB / 1.418 GB, free: 34.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/2.283, allocations: 0 / 1.418 GB, free: 34.37 MB / 0.698 GB Notification: Performance of Templates: time 0.03207/2.315, allocations: 20.37 MB / 1.438 GB, free: 14.25 MB / 0.698 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)