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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7068/0.7068, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001013, allocations: 181.8 kB / 187.3 MB, free: 11.88 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.244/1.244, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008704/0.0008706, allocations: 98.52 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 256.9 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.022e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3661, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6652/1.031, allocations: 371.9 MB / 1.127 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.032, allocations: 93.5 kB / 1.128 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7998/1.831, allocations: 246.8 MB / 1.369 GB, free: 95.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.71e-07/1.831, allocations: 0 / 1.369 GB, free: 95.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001174/1.832, allocations: 32 kB / 1.369 GB, free: 95.86 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.002124/1.834, allocations: 1.193 MB / 1.37 GB, free: 94.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.834, allocations: 8.031 kB / 1.37 GB, free: 94.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002001/1.834, allocations: 126.5 kB / 1.37 GB, free: 94.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/1.834, allocations: 138.5 kB / 1.37 GB, free: 94.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/1.848, allocations: 7.763 MB / 1.378 GB, free: 86.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/1.848, allocations: 58 kB / 1.378 GB, free: 86.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.848, allocations: 76 kB / 1.378 GB, free: 86.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.85, allocations: 0.9592 MB / 1.379 GB, free: 85.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.85, allocations: 7.844 kB / 1.379 GB, free: 85.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/1.85, allocations: 32 kB / 1.379 GB, free: 85.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/1.85, allocations: 20 kB / 1.379 GB, free: 85.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/1.851, allocations: 0.6831 MB / 1.379 GB, free: 84.6 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.003992/1.855, allocations: 4.534 MB / 1.384 GB, free: 79.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/1.855, allocations: 380.1 kB / 1.384 GB, free: 79.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/1.856, allocations: 260.5 kB / 1.385 GB, free: 79.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/1.856, allocations: 441.8 kB / 1.385 GB, free: 78.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/1.856, allocations: 34.89 kB / 1.385 GB, free: 78.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/1.856, allocations: 0 / 1.385 GB, free: 78.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008407/1.857, allocations: 0.538 MB / 1.385 GB, free: 77.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/1.857, allocations: 63.34 kB / 1.386 GB, free: 77.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/1.858, allocations: 0.8209 MB / 1.386 GB, free: 77.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/1.858, allocations: 33.7 kB / 1.386 GB, free: 77.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/1.858, allocations: 0.5028 MB / 1.387 GB, free: 76.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/1.858, allocations: 145.9 kB / 1.387 GB, free: 76.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/1.858, allocations: 11.94 kB / 1.387 GB, free: 76.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/1.858, allocations: 333.9 kB / 1.387 GB, free: 76.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/1.858, allocations: 213 kB / 1.388 GB, free: 75.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/1.859, allocations: 444.4 kB / 1.388 GB, free: 75.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/1.859, allocations: 309.3 kB / 1.388 GB, free: 75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/1.859, allocations: 0 / 1.388 GB, free: 75 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009248/1.86, allocations: 0.7832 MB / 1.389 GB, free: 74.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/1.86, allocations: 2.178 MB / 1.391 GB, free: 71.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.86, allocations: 7.938 kB / 1.391 GB, free: 71.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/1.861, allocations: 64.77 kB / 1.391 GB, free: 71.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/1.861, allocations: 111.8 kB / 1.391 GB, free: 71.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/1.861, allocations: 0.6343 MB / 1.392 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/1.862, allocations: 115.3 kB / 1.392 GB, free: 70.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/1.862, allocations: 28 kB / 1.392 GB, free: 70.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/1.862, allocations: 5.25 kB / 1.392 GB, free: 70.87 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008098/1.863, allocations: 0.6561 MB / 1.393 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.863, allocations: 8 kB / 1.393 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/1.863, allocations: 69.34 kB / 1.393 GB, free: 70.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/1.863, allocations: 115.8 kB / 1.393 GB, free: 70.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.865, allocations: 1.654 MB / 1.395 GB, free: 68.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/1.865, allocations: 99.52 kB / 1.395 GB, free: 68.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/1.865, allocations: 28 kB / 1.395 GB, free: 68.1 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.0001277/1.865, allocations: 144.8 kB / 1.395 GB, free: 67.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/1.866, allocations: 86.97 kB / 1.395 GB, free: 67.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008407/1.866, allocations: 0.6453 MB / 1.396 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.866, allocations: 4 kB / 1.396 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.866, allocations: 0 / 1.396 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005977/1.867, allocations: 0.8087 MB / 1.396 GB, free: 66.31 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.002049/1.869, allocations: 1.672 MB / 1.398 GB, free: 64.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.869, allocations: 0 / 1.398 GB, free: 64.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/1.869, allocations: 84.02 kB / 1.398 GB, free: 64.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.886e-05/1.869, allocations: 36.78 kB / 1.398 GB, free: 64.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/1.869, allocations: 19.98 kB / 1.398 GB, free: 64.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002138/1.87, allocations: 0.5562 MB / 1.399 GB, free: 63.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.87, allocations: 12.05 kB / 1.399 GB, free: 63.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/1.871, allocations: 0.9906 MB / 1.4 GB, free: 62.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/1.871, allocations: 263.8 kB / 1.4 GB, free: 62.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.871, allocations: 12 kB / 1.4 GB, free: 62.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/1.872, allocations: 67.77 kB / 1.4 GB, free: 62.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/1.872, allocations: 31.92 kB / 1.4 GB, free: 62.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/1.872, allocations: 23.98 kB / 1.4 GB, free: 62.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006354/1.873, allocations: 0.6474 MB / 1.401 GB, free: 61.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.873, allocations: 0 / 1.401 GB, free: 61.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001668/1.874, allocations: 0.5963 MB / 1.401 GB, free: 61.11 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.001739/1.876, allocations: 2.068 MB / 1.403 GB, free: 58.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.877, allocations: 1.008 MB / 1.404 GB, free: 57.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.877, allocations: 0 / 1.404 GB, free: 57.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/1.878, allocations: 240.5 kB / 1.404 GB, free: 57.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/1.88, allocations: 0.555 MB / 1.405 GB, free: 57.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/1.882, allocations: 1.956 MB / 1.407 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/1.883, allocations: 1.245 MB / 1.408 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001438/1.884, allocations: 0.6427 MB / 1.409 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/1.885, allocations: 347.3 kB / 1.409 GB, free: 52.92 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.885, allocations: 0 / 1.409 GB, free: 52.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/1.935, allocations: 31.73 MB / 1.44 GB, free: 21.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.935, allocations: 266 kB / 1.44 GB, free: 21.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/4.558, allocations: 2.25 kB / 1.44 GB, free: 21.24 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)