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.8697/0.8697, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001091/0.001091, allocations: 184.8 kB / 182.2 MB, free: 9.449 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.561/1.561, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.001207/0.001207, allocations: 84.12 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 275.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.991e-05, allocations: 0 / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.504, allocations: 371.2 MB / 1.12 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.504, allocations: 94.77 kB / 1.12 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9802/2.485, allocations: 245.5 MB / 1.36 GB, free: 91.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/2.485, allocations: 0 / 1.36 GB, free: 91.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001733/2.485, allocations: 35.98 kB / 1.36 GB, free: 91.79 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.003284/2.488, allocations: 1.196 MB / 1.361 GB, free: 90.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/2.488, allocations: 8.031 kB / 1.361 GB, free: 90.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009743/2.489, allocations: 138.5 kB / 1.361 GB, free: 90.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/2.507, allocations: 7.714 MB / 1.369 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/2.507, allocations: 24 kB / 1.369 GB, free: 82.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/2.508, allocations: 44 kB / 1.369 GB, free: 82.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/2.509, allocations: 0.6403 MB / 1.369 GB, free: 81.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/2.511, allocations: 0.8537 MB / 1.37 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/2.511, allocations: 0 / 1.37 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/2.511, allocations: 7.938 kB / 1.37 GB, free: 80.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/2.511, allocations: 23.94 kB / 1.37 GB, free: 80.94 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00617/2.517, allocations: 4.398 MB / 1.374 GB, free: 76.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/2.518, allocations: 374.1 kB / 1.375 GB, free: 75.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/2.518, allocations: 250.1 kB / 1.375 GB, free: 75.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/2.518, allocations: 433.8 kB / 1.375 GB, free: 75.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/2.519, allocations: 38.89 kB / 1.375 GB, free: 75.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.559e-06/2.519, allocations: 0 / 1.375 GB, free: 75.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001449/2.52, allocations: 0.5305 MB / 1.376 GB, free: 74.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/2.52, allocations: 59.41 kB / 1.376 GB, free: 74.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/2.521, allocations: 0.766 MB / 1.377 GB, free: 73.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/2.521, allocations: 25.7 kB / 1.377 GB, free: 73.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/2.522, allocations: 0.5027 MB / 1.377 GB, free: 73.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/2.522, allocations: 138 kB / 1.377 GB, free: 72.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/2.522, allocations: 0 / 1.377 GB, free: 72.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/2.522, allocations: 334 kB / 1.378 GB, free: 72.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/2.522, allocations: 201 kB / 1.378 GB, free: 72.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/2.523, allocations: 423.3 kB / 1.378 GB, free: 71.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/2.523, allocations: 317.2 kB / 1.379 GB, free: 71.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/2.523, allocations: 4 kB / 1.379 GB, free: 71.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001302/2.524, allocations: 0.728 MB / 1.379 GB, free: 70.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005757/2.525, allocations: 2.187 MB / 1.381 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/2.525, allocations: 8 kB / 1.381 GB, free: 68.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/2.525, allocations: 60.81 kB / 1.382 GB, free: 68.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/2.526, allocations: 111.8 kB / 1.382 GB, free: 68.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004629/2.526, allocations: 0.6304 MB / 1.382 GB, free: 67.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/2.527, allocations: 99.38 kB / 1.382 GB, free: 67.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/2.527, allocations: 28 kB / 1.382 GB, free: 67.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/2.527, allocations: 5.562 kB / 1.382 GB, free: 67.55 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009811/2.528, allocations: 0.5974 MB / 1.383 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/2.528, allocations: 4 kB / 1.383 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/2.529, allocations: 60.81 kB / 1.383 GB, free: 66.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/2.529, allocations: 107.8 kB / 1.383 GB, free: 66.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/2.531, allocations: 1.611 MB / 1.385 GB, free: 65.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/2.532, allocations: 83.58 kB / 1.385 GB, free: 64.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/2.532, allocations: 28 kB / 1.385 GB, free: 64.95 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 () * 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.0002565/2.532, allocations: 124.7 kB / 1.385 GB, free: 64.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/2.532, allocations: 94.83 kB / 1.385 GB, free: 64.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/2.534, allocations: 0.5995 MB / 1.386 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/2.534, allocations: 4 kB / 1.386 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/2.534, allocations: 0 / 1.386 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008669/2.534, allocations: 0.7853 MB / 1.386 GB, free: 63.23 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002833/2.537, allocations: 1.524 MB / 1.388 GB, free: 61.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/2.537, allocations: 0 / 1.388 GB, free: 61.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/2.538, allocations: 83.88 kB / 1.388 GB, free: 61.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.426e-05/2.538, allocations: 32.8 kB / 1.388 GB, free: 61.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/2.538, allocations: 12.12 kB / 1.388 GB, free: 61.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003186/2.538, allocations: 0.568 MB / 1.389 GB, free: 60.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.538, allocations: 0 / 1.389 GB, free: 60.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/2.539, allocations: 0.963 MB / 1.389 GB, free: 59.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/2.54, allocations: 263.9 kB / 1.39 GB, free: 59.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/2.54, allocations: 0 / 1.39 GB, free: 59.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/2.541, allocations: 59.84 kB / 1.39 GB, free: 59.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/2.541, allocations: 31.95 kB / 1.39 GB, free: 59.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/2.541, allocations: 23.92 kB / 1.39 GB, free: 59.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000784/2.542, allocations: 0.5888 MB / 1.39 GB, free: 58.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.542, allocations: 0 / 1.39 GB, free: 58.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002444/2.544, allocations: 0.5689 MB / 1.391 GB, free: 58.35 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 () * 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.001022/2.545, allocations: 411.7 kB / 1.391 GB, free: 57.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001592/2.547, allocations: 0.9469 MB / 1.392 GB, free: 56.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/2.547, allocations: 4 kB / 1.392 GB, free: 56.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/2.547, allocations: 219.8 kB / 1.392 GB, free: 56.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/2.55, allocations: 0.5347 MB / 1.393 GB, free: 56.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/2.553, allocations: 1.593 MB / 1.395 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/2.554, allocations: 1.249 MB / 1.396 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001887/2.555, allocations: 0.6544 MB / 1.396 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/2.556, allocations: 63.42 kB / 1.396 GB, free: 52.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/2.556, allocations: 3.938 kB / 1.396 GB, free: 52.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0331/2.589, allocations: 19.62 MB / 1.416 GB, free: 33.18 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)