Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",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.9003/0.9003, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001119/0.001119, allocations: 168.9 kB / 182.2 MB, free: 9.457 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.563/1.563, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009463/0.0009461, allocations: 88.08 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001949/0.001949, allocations: 274.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.696e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4753, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.82/5.295, allocations: 1.892 GB / 2.649 GB, free: 126 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/5.295, allocations: 86.52 kB / 2.649 GB, free: 126 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.132/10.43, allocations: 1.34 GB / 3.989 GB, free: 78.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.284e-06/10.43, allocations: 0 / 3.989 GB, free: 78.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001575/10.43, allocations: 55.69 kB / 3.989 GB, free: 78.48 MB / 0.7292 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.006154/10.43, allocations: 2.17 MB / 3.991 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/10.43, allocations: 9.844 kB / 3.991 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/10.44, allocations: 0.5004 MB / 3.992 GB, free: 77.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/10.44, allocations: 1.402 MB / 3.993 GB, free: 77.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/10.44, allocations: 125 kB / 3.993 GB, free: 76.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/10.44, allocations: 95.91 kB / 3.993 GB, free: 76.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002113/10.44, allocations: 1.164 MB / 3.994 GB, free: 76.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/10.45, allocations: 1.433 MB / 3.996 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/10.45, allocations: 4.406 kB / 3.996 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/10.45, allocations: 3.656 kB / 3.996 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/10.45, allocations: 56.17 kB / 3.996 GB, free: 76.73 MB / 0.7292 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.01022/10.46, allocations: 7.939 MB / 4.004 GB, free: 71.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/10.46, allocations: 0.8094 MB / 4.004 GB, free: 71.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/10.46, allocations: 479.1 kB / 4.005 GB, free: 71.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/10.46, allocations: 330.8 kB / 4.005 GB, free: 71.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/10.46, allocations: 42.94 kB / 4.005 GB, free: 71.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 4.909e-06/10.46, allocations: 0 / 4.005 GB, free: 71.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.006229/10.46, allocations: 2.569 MB / 4.008 GB, free: 70.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/10.46, allocations: 69.06 kB / 4.008 GB, free: 70.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/10.47, allocations: 0.8796 MB / 4.009 GB, free: 70.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-05/10.47, allocations: 31.11 kB / 4.009 GB, free: 70.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/10.47, allocations: 0.8176 MB / 4.009 GB, free: 70.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/10.47, allocations: 350.2 kB / 4.01 GB, free: 70.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/10.47, allocations: 0 / 4.01 GB, free: 70.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/10.47, allocations: 353.3 kB / 4.01 GB, free: 69.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/10.47, allocations: 374.7 kB / 4.01 GB, free: 69.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/10.47, allocations: 0.7622 MB / 4.011 GB, free: 69.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/10.47, allocations: 0.5433 MB / 4.012 GB, free: 69.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/10.47, allocations: 3.875 kB / 4.012 GB, free: 69.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002001/10.47, allocations: 1.262 MB / 4.013 GB, free: 69.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009506/10.47, allocations: 3.643 MB / 4.017 GB, free: 65.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/10.47, allocations: 10.05 kB / 4.017 GB, free: 65.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/10.47, allocations: 18.48 kB / 4.017 GB, free: 65.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/10.47, allocations: 282.2 kB / 4.017 GB, free: 65.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/10.47, allocations: 22.7 kB / 4.017 GB, free: 65.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/10.48, allocations: 150.7 kB / 4.017 GB, free: 65.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/10.48, allocations: 57.91 kB / 4.017 GB, free: 65.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/10.48, allocations: 3.719 kB / 4.017 GB, free: 65.39 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/10.48, allocations: 1.061 MB / 4.018 GB, free: 65.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/10.48, allocations: 9.781 kB / 4.018 GB, free: 65.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/10.48, allocations: 14.09 kB / 4.018 GB, free: 65.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/10.48, allocations: 284.4 kB / 4.018 GB, free: 65.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/10.48, allocations: 26.67 kB / 4.018 GB, free: 65.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/10.48, allocations: 139.8 kB / 4.019 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/10.48, allocations: 53.7 kB / 4.019 GB, free: 65.32 MB / 0.7292 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.0005818/10.48, allocations: 143.1 kB / 4.019 GB, free: 65.19 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002162/10.48, allocations: 0.966 MB / 4.02 GB, free: 65.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/10.48, allocations: 155.8 kB / 4.02 GB, free: 64.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/10.49, allocations: 1.054 MB / 4.021 GB, free: 64.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/10.49, allocations: 7.875 kB / 4.021 GB, free: 64.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/10.49, allocations: 1.844 kB / 4.021 GB, free: 64.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/10.49, allocations: 1.003 MB / 4.022 GB, free: 64.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/10.49, allocations: 2.506 MB / 4.024 GB, free: 64.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/10.49, allocations: 0 / 4.024 GB, free: 64.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/10.49, allocations: 262 kB / 4.025 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/10.49, allocations: 7.344 kB / 4.025 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/10.49, allocations: 12.66 kB / 4.025 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/10.49, allocations: 7.406 kB / 4.025 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/10.49, allocations: 0 / 4.025 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/10.5, allocations: 1.781 MB / 4.026 GB, free: 63.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/10.5, allocations: 323.2 kB / 4.027 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/10.5, allocations: 11.03 kB / 4.027 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/10.5, allocations: 135 kB / 4.027 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/10.5, allocations: 65.47 kB / 4.027 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/10.5, allocations: 39.92 kB / 4.027 GB, free: 63.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009137/10.5, allocations: 0.6618 MB / 4.028 GB, free: 63.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/10.5, allocations: 0 / 4.028 GB, free: 63.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003001/10.5, allocations: 0.9147 MB / 4.028 GB, free: 63.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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.007569/10.51, allocations: 6.027 MB / 4.034 GB, free: 60.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002621/10.51, allocations: 1.565 MB / 4.036 GB, free: 60.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/10.51, allocations: 0 / 4.036 GB, free: 60.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/10.51, allocations: 469.9 kB / 4.036 GB, free: 60.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/10.52, allocations: 0.8555 MB / 4.037 GB, free: 60.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/10.52, allocations: 3.091 MB / 4.04 GB, free: 59.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/10.53, allocations: 1.481 MB / 4.042 GB, free: 59.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002583/10.53, allocations: 0.6283 MB / 4.042 GB, free: 59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008006/10.53, allocations: 0.6591 MB / 4.043 GB, free: 58.98 MB / 0.7292 GB Notification: Performance of SimCode: time 1.473e-06/10.53, allocations: 4 kB / 4.043 GB, free: 58.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/10.65, allocations: 63.18 MB / 4.105 GB, free: 17 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/10.65, allocations: 184.9 kB / 4.105 GB, free: 16.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.672/15.32, allocations: 0 / 4.105 GB, free: 16.81 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)