Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.815/0.815, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001441/0.001441, allocations: 180.9 kB / 182.2 MB, free: 9.453 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.722/1.722, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001051/0.001051, allocations: 90.08 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001881/0.001881, allocations: 273.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.446e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5184, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.114/6.632, allocations: 2.125 GB / 2.883 GB, free: 216.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/6.633, allocations: 91.94 kB / 2.883 GB, free: 216.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.42/8.053, allocations: 480.8 MB / 3.352 GB, free: 8.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.295e-06/8.053, allocations: 0 / 3.352 GB, free: 8.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001182/8.053, allocations: 39.98 kB / 3.352 GB, free: 8.281 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003267/8.056, allocations: 1.518 MB / 3.354 GB, free: 6.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/8.056, allocations: 8.031 kB / 3.354 GB, free: 6.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/8.059, allocations: 481.7 kB / 3.354 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/8.062, allocations: 1.3 MB / 3.356 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/8.062, allocations: 32 kB / 3.356 GB, free: 4.863 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/8.062, allocations: 63.94 kB / 3.356 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001733/8.064, allocations: 1.12 MB / 3.357 GB, free: 3.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/8.065, allocations: 1.077 MB / 3.358 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/8.065, allocations: 8 kB / 3.358 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/8.066, allocations: 0 / 3.358 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/8.066, allocations: 34 kB / 3.358 GB, free: 2.555 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.5638/8.629, allocations: 4.646 MB / 3.362 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/8.631, allocations: 0.9366 MB / 3.363 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/8.632, allocations: 0.5365 MB / 3.364 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/8.632, allocations: 202.5 kB / 3.364 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/8.632, allocations: 40.84 kB / 3.364 GB, free: 135.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/8.632, allocations: 0 / 3.364 GB, free: 135.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.006328/8.639, allocations: 2.441 MB / 3.367 GB, free: 134.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/8.639, allocations: 59.66 kB / 3.367 GB, free: 134.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/8.64, allocations: 0.7553 MB / 3.367 GB, free: 134.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/8.64, allocations: 29.36 kB / 3.367 GB, free: 134.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/8.64, allocations: 0.5306 MB / 3.368 GB, free: 134.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/8.64, allocations: 277.6 kB / 3.368 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/8.64, allocations: 0 / 3.368 GB, free: 134.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/8.641, allocations: 342.5 kB / 3.368 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/8.641, allocations: 407.2 kB / 3.369 GB, free: 133.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/8.642, allocations: 0.5791 MB / 3.369 GB, free: 133.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/8.642, allocations: 0.5213 MB / 3.37 GB, free: 133.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/8.642, allocations: 1.406 kB / 3.37 GB, free: 133.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001635/8.644, allocations: 1.151 MB / 3.371 GB, free: 133.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003124/8.644, allocations: 1.052 MB / 3.372 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/8.644, allocations: 7.156 kB / 3.372 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/8.645, allocations: 64.06 kB / 3.372 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/8.646, allocations: 197.2 kB / 3.372 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/8.648, allocations: 2.943 MB / 3.375 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/8.649, allocations: 121.2 kB / 3.375 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/8.649, allocations: 33.61 kB / 3.375 GB, free: 130 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/8.649, allocations: 6.031 kB / 3.375 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/8.651, allocations: 1.012 MB / 3.376 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/8.651, allocations: 3.344 kB / 3.376 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/8.651, allocations: 66.22 kB / 3.376 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/8.652, allocations: 178.7 kB / 3.377 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/8.653, allocations: 1.748 MB / 3.378 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/8.654, allocations: 126.5 kB / 3.378 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/8.654, allocations: 32.06 kB / 3.378 GB, free: 128.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000244/8.655, allocations: 114.1 kB / 3.379 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001753/8.656, allocations: 1.025 MB / 3.38 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/8.657, allocations: 108 kB / 3.38 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/8.658, allocations: 1.099 MB / 3.381 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/8.658, allocations: 11.34 kB / 3.381 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/8.658, allocations: 0 / 3.381 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/8.66, allocations: 1.176 MB / 3.382 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/8.664, allocations: 2.565 MB / 3.384 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/8.664, allocations: 2.719 kB / 3.384 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/8.665, allocations: 244 kB / 3.385 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/8.666, allocations: 67.89 kB / 3.385 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/8.666, allocations: 17.77 kB / 3.385 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/8.667, allocations: 2.925 MB / 3.388 GB, free: 125.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/8.667, allocations: 2.5 kB / 3.388 GB, free: 125.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/8.67, allocations: 1.959 MB / 3.389 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006848/8.671, allocations: 317 kB / 3.39 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/8.671, allocations: 7.641 kB / 3.39 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/8.672, allocations: 103.9 kB / 3.39 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/8.672, allocations: 55.8 kB / 3.39 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/8.672, allocations: 34.38 kB / 3.39 GB, free: 124.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008832/8.673, allocations: 0.5928 MB / 3.391 GB, free: 124.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/8.673, allocations: 3.969 kB / 3.391 GB, free: 124.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002424/8.675, allocations: 0.7176 MB / 3.391 GB, free: 124.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004627/8.68, allocations: 4.447 MB / 3.396 GB, free: 122.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002895/8.683, allocations: 1.817 MB / 3.397 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/8.683, allocations: 0 / 3.397 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/8.684, allocations: 0.6247 MB / 3.398 GB, free: 122.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/8.688, allocations: 0.7515 MB / 3.399 GB, free: 122.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/8.694, allocations: 2.933 MB / 3.402 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009954/8.695, allocations: 1.442 MB / 3.403 GB, free: 121.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002665/8.697, allocations: 0.9483 MB / 3.404 GB, free: 121.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/8.698, allocations: 436.9 kB / 3.404 GB, free: 121.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.154e-06/8.698, allocations: 3.75 kB / 3.404 GB, free: 121.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08546/8.784, allocations: 46.42 MB / 3.45 GB, free: 119.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/8.784, allocations: 219.7 kB / 3.45 GB, free: 119.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.903/12.69, allocations: 4 kB / 3.45 GB, free: 119.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)