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.001095/0.001095, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5856/0.5856, allocations: 90.91 MB / 99.34 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.0009171, allocations: 87.95 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.732e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.114/5.29, allocations: 1.885 GB / 2.438 GB, free: 19 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/5.29, allocations: 89.39 kB / 2.438 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.141/10.43, allocations: 1.344 GB / 3.782 GB, free: 60.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.046e-06/10.43, allocations: 3.531 kB / 3.782 GB, free: 60.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003317/10.43, allocations: 54.16 kB / 3.783 GB, free: 60.84 MB / 0.6355 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.008489/10.44, allocations: 2.179 MB / 3.785 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/10.44, allocations: 11.22 kB / 3.785 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/10.44, allocations: 0.5014 MB / 3.785 GB, free: 59.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/10.45, allocations: 1.427 MB / 3.787 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/10.45, allocations: 123.4 kB / 3.787 GB, free: 59.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007607/10.45, allocations: 88.72 kB / 3.787 GB, free: 59.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003726/10.46, allocations: 1.174 MB / 3.788 GB, free: 59.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/10.46, allocations: 1.433 MB / 3.789 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.92e-05/10.46, allocations: 11.78 kB / 3.789 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/10.46, allocations: 0 / 3.789 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/10.46, allocations: 56.48 kB / 3.789 GB, free: 58.8 MB / 0.6355 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.01119/10.47, allocations: 7.963 MB / 3.797 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/10.47, allocations: 0.8208 MB / 3.798 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/10.47, allocations: 473.7 kB / 3.798 GB, free: 53.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/10.47, allocations: 323.2 kB / 3.799 GB, free: 53.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/10.47, allocations: 48.91 kB / 3.799 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/10.47, allocations: 0 / 3.799 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102): time 0.00692/10.48, allocations: 2.573 MB / 3.801 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/10.48, allocations: 67.42 kB / 3.801 GB, free: 51.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/10.48, allocations: 0.8943 MB / 3.802 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/10.48, allocations: 25.7 kB / 3.802 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/10.48, allocations: 0.8287 MB / 3.803 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/10.48, allocations: 353.5 kB / 3.803 GB, free: 50.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/10.48, allocations: 0 / 3.803 GB, free: 50.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/10.48, allocations: 354.7 kB / 3.804 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/10.49, allocations: 376 kB / 3.804 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/10.49, allocations: 0.7515 MB / 3.805 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/10.49, allocations: 0.5547 MB / 3.805 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/10.49, allocations: 0 / 3.805 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002315/10.49, allocations: 1.262 MB / 3.807 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001021/10.49, allocations: 3.641 MB / 3.81 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/10.49, allocations: 12 kB / 3.81 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.446e-05/10.49, allocations: 15 kB / 3.81 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/10.49, allocations: 291.3 kB / 3.81 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.324e-05/10.49, allocations: 22.77 kB / 3.81 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/10.49, allocations: 154.8 kB / 3.811 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/10.49, allocations: 54.98 kB / 3.811 GB, free: 45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/10.49, allocations: 1.938 kB / 3.811 GB, free: 45 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001759/10.5, allocations: 1.065 MB / 3.812 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/10.5, allocations: 8.969 kB / 3.812 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/10.5, allocations: 15.5 kB / 3.812 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/10.5, allocations: 281.5 kB / 3.812 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/10.5, allocations: 18.53 kB / 3.812 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/10.5, allocations: 163.1 kB / 3.812 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/10.5, allocations: 53.38 kB / 3.812 GB, free: 44.57 MB / 0.6355 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.0003431/10.5, allocations: 147.7 kB / 3.812 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001933/10.5, allocations: 0.9709 MB / 3.813 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/10.5, allocations: 155.5 kB / 3.813 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/10.5, allocations: 1.062 MB / 3.814 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/10.5, allocations: 12 kB / 3.814 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/10.5, allocations: 0 / 3.814 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/10.5, allocations: 1.013 MB / 3.815 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004891/10.51, allocations: 2.517 MB / 3.818 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/10.51, allocations: 0 / 3.818 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/10.51, allocations: 258.1 kB / 3.818 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/10.51, allocations: 7.953 kB / 3.818 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/10.51, allocations: 17.02 kB / 3.818 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/10.51, allocations: 4 kB / 3.818 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/10.51, allocations: 7.938 kB / 3.818 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/10.51, allocations: 1.73 MB / 3.82 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/10.51, allocations: 321.7 kB / 3.82 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/10.52, allocations: 8 kB / 3.82 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/10.52, allocations: 141 kB / 3.82 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/10.52, allocations: 61.53 kB / 3.82 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/10.52, allocations: 35.61 kB / 3.82 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001298/10.52, allocations: 0.6632 MB / 3.821 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/10.52, allocations: 0 / 3.821 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004006/10.52, allocations: 0.9162 MB / 3.822 GB, free: 36.21 MB / 0.6355 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.00765/10.53, allocations: 5.984 MB / 3.828 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003243/10.53, allocations: 1.571 MB / 3.829 GB, free: 29.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/10.53, allocations: 4 kB / 3.829 GB, free: 29.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/10.53, allocations: 470.8 kB / 3.83 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/10.54, allocations: 0.8528 MB / 3.831 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/10.55, allocations: 3.118 MB / 3.834 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/10.55, allocations: 1.482 MB / 3.835 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003291/10.55, allocations: 0.6389 MB / 3.836 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000986/10.55, allocations: 0.6594 MB / 3.836 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.243e-06/10.55, allocations: 4 kB / 3.836 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6502/11.2, allocations: 63.21 MB / 3.898 GB, free: 74.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/11.21, allocations: 175.7 kB / 3.898 GB, free: 73.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.965/16.17, allocations: 2.094 kB / 3.898 GB, free: 73.89 MB / 0.6511 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)