Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4769/0.4769, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 105.5 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.262e-05, allocations: 0 / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4033, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.499/4.902, allocations: 1.885 GB / 2.446 GB, free: 87.01 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/4.903, allocations: 87.77 kB / 2.446 GB, free: 86.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.652/9.555, allocations: 1.359 GB / 3.805 GB, free: 70.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.834e-06/9.555, allocations: 3.938 kB / 3.805 GB, free: 70.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001388/9.555, allocations: 52.17 kB / 3.805 GB, free: 70.35 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004755/9.56, allocations: 2.189 MB / 3.807 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/9.56, allocations: 9.562 kB / 3.807 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002773/9.56, allocations: 212.9 kB / 3.807 GB, free: 69.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/9.563, allocations: 0.5 MB / 3.808 GB, free: 69.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/9.567, allocations: 1.428 MB / 3.809 GB, free: 68.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/9.567, allocations: 173.1 kB / 3.809 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/9.567, allocations: 152.1 kB / 3.809 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/9.57, allocations: 1.639 MB / 3.811 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/9.57, allocations: 6.344 kB / 3.811 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/9.57, allocations: 59.47 kB / 3.811 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/9.57, allocations: 55.77 kB / 3.811 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/9.572, allocations: 1.258 MB / 3.812 GB, free: 68.58 MB / 0.6511 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.008542/9.581, allocations: 8.25 MB / 3.82 GB, free: 63.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/9.582, allocations: 0.8526 MB / 3.821 GB, free: 63.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/9.582, allocations: 0.4894 MB / 3.822 GB, free: 63.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/9.583, allocations: 319.7 kB / 3.822 GB, free: 63.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/9.583, allocations: 47 kB / 3.822 GB, free: 63.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/9.583, allocations: 0 / 3.822 GB, free: 63.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.005602/9.589, allocations: 2.627 MB / 3.825 GB, free: 62.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/9.589, allocations: 62.72 kB / 3.825 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/9.59, allocations: 1.08 MB / 3.826 GB, free: 62.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/9.59, allocations: 48.73 kB / 3.826 GB, free: 62.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/9.591, allocations: 0.8066 MB / 3.827 GB, free: 62.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/9.591, allocations: 363.2 kB / 3.827 GB, free: 61.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/9.591, allocations: 25.98 kB / 3.827 GB, free: 61.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/9.591, allocations: 354 kB / 3.827 GB, free: 61.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/9.592, allocations: 400.1 kB / 3.828 GB, free: 61.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/9.592, allocations: 0.7781 MB / 3.828 GB, free: 61.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/9.593, allocations: 0.5239 MB / 3.829 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/9.593, allocations: 6.375 kB / 3.829 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001886/9.595, allocations: 1.316 MB / 3.83 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008903/9.596, allocations: 3.664 MB / 3.834 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/9.596, allocations: 7.625 kB / 3.834 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/9.596, allocations: 17.72 kB / 3.834 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/9.597, allocations: 285.7 kB / 3.834 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/9.597, allocations: 25.91 kB / 3.834 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/9.599, allocations: 187.2 kB / 3.834 GB, free: 57.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/9.599, allocations: 50.06 kB / 3.834 GB, free: 57.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/9.599, allocations: 2.844 kB / 3.834 GB, free: 57.06 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/9.601, allocations: 1.148 MB / 3.835 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/9.601, allocations: 15 kB / 3.835 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/9.601, allocations: 15.62 kB / 3.836 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/9.602, allocations: 279.2 kB / 3.836 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/9.602, allocations: 19.69 kB / 3.836 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/9.604, allocations: 187.9 kB / 3.836 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/9.604, allocations: 60.27 kB / 3.836 GB, free: 57.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003121/9.604, allocations: 186.2 kB / 3.836 GB, free: 56.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/9.605, allocations: 164.3 kB / 3.836 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/9.607, allocations: 1.088 MB / 3.837 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/9.607, allocations: 12.88 kB / 3.837 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/9.607, allocations: 3.844 kB / 3.837 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/9.608, allocations: 1.02 MB / 3.838 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/9.613, allocations: 2.701 MB / 3.841 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/9.613, allocations: 0 / 3.841 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/9.614, allocations: 249 kB / 3.841 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/9.614, allocations: 6.156 kB / 3.841 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/9.614, allocations: 28.66 kB / 3.841 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/9.614, allocations: 7.672 kB / 3.841 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/9.614, allocations: 3.031 kB / 3.841 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/9.617, allocations: 1.763 MB / 3.843 GB, free: 55.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008443/9.618, allocations: 338.5 kB / 3.843 GB, free: 55.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/9.618, allocations: 28.8 kB / 3.843 GB, free: 55.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/9.62, allocations: 149.8 kB / 3.844 GB, free: 55.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/9.62, allocations: 63.84 kB / 3.844 GB, free: 55.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/9.62, allocations: 43.83 kB / 3.844 GB, free: 55.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0016/9.622, allocations: 0.8099 MB / 3.844 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/9.622, allocations: 0 / 3.844 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004321/9.626, allocations: 1.068 MB / 3.846 GB, free: 55.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008545/9.634, allocations: 5.705 MB / 3.851 GB, free: 52.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003329/9.638, allocations: 1.674 MB / 3.853 GB, free: 52.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/9.638, allocations: 3.938 kB / 3.853 GB, free: 52.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008523/9.639, allocations: 488.2 kB / 3.853 GB, free: 52.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006784/9.645, allocations: 0.9414 MB / 3.854 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/9.655, allocations: 3.227 MB / 3.857 GB, free: 51.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/9.657, allocations: 1.48 MB / 3.859 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003581/9.66, allocations: 0.6916 MB / 3.859 GB, free: 51.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/9.662, allocations: 0.6642 MB / 3.86 GB, free: 51.04 MB / 0.6511 GB Notification: Performance of SimCode: time 3.928e-06/9.662, allocations: 0 / 3.86 GB, free: 51.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/9.816, allocations: 95.39 MB / 3.953 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/9.816, allocations: 187.9 kB / 3.953 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.765/15.58, allocations: 0 / 3.953 GB, free: 6.891 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)