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.001967/0.001967, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5613/0.5613, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.518/1.518, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009889, allocations: 96.28 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 72.3 MB / 0.5689 GB, free: 1.871 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.014/5.157, allocations: 1.885 GB / 2.454 GB, free: 216.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004279/5.158, allocations: 92.12 kB / 2.454 GB, free: 216.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.058/10.22, allocations: 1.36 GB / 3.815 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/10.22, allocations: 0 / 3.815 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002337/10.22, allocations: 65.69 kB / 3.815 GB, free: 68.6 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.007611/10.22, allocations: 2.486 MB / 3.817 GB, free: 67.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/10.22, allocations: 7.812 kB / 3.817 GB, free: 67.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008343/10.22, allocations: 221.1 kB / 3.817 GB, free: 67.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/10.23, allocations: 0.5012 MB / 3.818 GB, free: 67.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/10.23, allocations: 1.434 MB / 3.819 GB, free: 66.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/10.23, allocations: 178.1 kB / 3.819 GB, free: 66.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004889/10.23, allocations: 150.9 kB / 3.82 GB, free: 66.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/10.24, allocations: 1.704 MB / 3.821 GB, free: 66.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/10.24, allocations: 3.938 kB / 3.821 GB, free: 66.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/10.24, allocations: 62.72 kB / 3.821 GB, free: 66.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/10.24, allocations: 52.77 kB / 3.821 GB, free: 66.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/10.24, allocations: 1.343 MB / 3.823 GB, free: 66.27 MB / 0.6511 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.00963/10.25, allocations: 8.236 MB / 3.831 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/10.25, allocations: 0.9119 MB / 3.832 GB, free: 59.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/10.25, allocations: 316.7 kB / 3.832 GB, free: 59.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/10.25, allocations: 50.72 kB / 3.832 GB, free: 59.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/10.25, allocations: 0 / 3.832 GB, free: 59.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.007068/10.26, allocations: 3.148 MB / 3.835 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/10.26, allocations: 64.34 kB / 3.835 GB, free: 56.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/10.26, allocations: 1.083 MB / 3.836 GB, free: 55.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/10.26, allocations: 49.7 kB / 3.836 GB, free: 55.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/10.26, allocations: 0.8082 MB / 3.837 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/10.26, allocations: 366.7 kB / 3.837 GB, free: 54.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/10.26, allocations: 24 kB / 3.837 GB, free: 54.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/10.26, allocations: 353.9 kB / 3.838 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/10.26, allocations: 436.7 kB / 3.838 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/10.26, allocations: 0.8221 MB / 3.839 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/10.26, allocations: 0.5573 MB / 3.839 GB, free: 52.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/10.26, allocations: 4 kB / 3.839 GB, free: 52.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002221/10.27, allocations: 1.398 MB / 3.841 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006332/10.27, allocations: 3.665 MB / 3.844 GB, free: 46.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/10.27, allocations: 12 kB / 3.844 GB, free: 46.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/10.27, allocations: 19.94 kB / 3.844 GB, free: 46.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/10.27, allocations: 283.5 kB / 3.845 GB, free: 46.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.012e-05/10.27, allocations: 19.94 kB / 3.845 GB, free: 46.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/10.27, allocations: 187.5 kB / 3.845 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/10.27, allocations: 51.98 kB / 3.845 GB, free: 46.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/10.27, allocations: 5.406 kB / 3.845 GB, free: 46.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002094/10.27, allocations: 1.226 MB / 3.846 GB, free: 45.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/10.27, allocations: 8 kB / 3.846 GB, free: 45.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/10.27, allocations: 20.16 kB / 3.846 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/10.27, allocations: 275.6 kB / 3.846 GB, free: 44.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/10.27, allocations: 19.94 kB / 3.846 GB, free: 44.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/10.28, allocations: 183.6 kB / 3.847 GB, free: 44.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/10.28, allocations: 52 kB / 3.847 GB, free: 44.47 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 () * Number of clocked 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.001031/10.28, allocations: 0.5122 MB / 3.847 GB, free: 43.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/10.28, allocations: 166 kB / 3.847 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/10.28, allocations: 1.162 MB / 3.848 GB, free: 42.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/10.28, allocations: 8 kB / 3.848 GB, free: 42.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/10.28, allocations: 0 / 3.848 GB, free: 42.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/10.28, allocations: 1.095 MB / 3.85 GB, free: 41.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/10.29, allocations: 2.783 MB / 3.852 GB, free: 38.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/10.29, allocations: 0 / 3.852 GB, free: 38.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/10.29, allocations: 255.9 kB / 3.853 GB, free: 38.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/10.29, allocations: 4 kB / 3.853 GB, free: 38.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/10.29, allocations: 31.98 kB / 3.853 GB, free: 38.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/10.29, allocations: 11.88 kB / 3.853 GB, free: 38.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/10.29, allocations: 4 kB / 3.853 GB, free: 38.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/10.29, allocations: 1.885 MB / 3.854 GB, free: 36.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/10.29, allocations: 335 kB / 3.855 GB, free: 35.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/10.29, allocations: 24 kB / 3.855 GB, free: 35.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/10.29, allocations: 151.6 kB / 3.855 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/10.3, allocations: 68.56 kB / 3.855 GB, free: 35.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/10.3, allocations: 39.98 kB / 3.855 GB, free: 35.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001476/10.3, allocations: 0.8309 MB / 3.856 GB, free: 34.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/10.3, allocations: 0 / 3.856 GB, free: 34.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004234/10.3, allocations: 1.062 MB / 3.857 GB, free: 33.81 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 () * Number of clocked 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.007234/10.31, allocations: 5.808 MB / 3.863 GB, free: 27.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00309/10.31, allocations: 1.725 MB / 3.864 GB, free: 26.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/10.31, allocations: 4 kB / 3.864 GB, free: 26.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007816/10.31, allocations: 0.5132 MB / 3.865 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/10.32, allocations: 0.9574 MB / 3.866 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/10.33, allocations: 16.31 MB / 3.882 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/10.34, allocations: 1.484 MB / 3.883 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002303/10.34, allocations: 0.5549 MB / 3.884 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009432/10.34, allocations: 0.6867 MB / 3.884 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/10.34, allocations: 0 / 3.884 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5813/10.92, allocations: 86.02 MB / 3.968 GB, free: 72.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/10.92, allocations: 210.3 kB / 3.968 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.023/15.94, allocations: 4 kB / 3.968 GB, free: 72.68 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)