Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.9116/0.9116, allocations: 143.4 MB / 158.3 MB, free: 5.754 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.001238/0.001238, allocations: 181 kB / 191.5 MB, free: 5.746 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.475/1.475, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0009573/0.0009574, allocations: 100.2 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 289.2 kB / 0.6005 GB, free: 48.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005232, allocations: 18.17 kB / 0.6929 GB, free: 59.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.117, allocations: 370.1 MB / 1.135 GB, free: 408 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.117, allocations: 94.7 kB / 1.135 GB, free: 356 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.992/4.109, allocations: 0.6748 GB / 1.81 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.336e-06/4.109, allocations: 3.188 kB / 1.81 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001214/4.11, allocations: 42.72 kB / 1.81 GB, free: 135.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003378/4.113, allocations: 1.632 MB / 1.812 GB, free: 135 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/4.113, allocations: 10.88 kB / 1.812 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/4.113, allocations: 137 kB / 1.812 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/4.114, allocations: 207.8 kB / 1.812 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04829/4.162, allocations: 23.52 MB / 1.835 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/4.163, allocations: 132.8 kB / 1.835 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/4.163, allocations: 90.28 kB / 1.835 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/4.166, allocations: 1.013 MB / 1.836 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/4.166, allocations: 4.844 kB / 1.836 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/4.166, allocations: 36.34 kB / 1.836 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/4.166, allocations: 26.94 kB / 1.836 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/4.168, allocations: 0.6588 MB / 1.837 GB, free: 133.5 MB / 0.7136 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.006717/4.175, allocations: 4.333 MB / 1.841 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/4.176, allocations: 404.1 kB / 1.842 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/4.177, allocations: 1.161 MB / 1.843 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/4.177, allocations: 37.88 kB / 1.843 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/4.177, allocations: 0 / 1.843 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29): time 0.003099/4.18, allocations: 1.102 MB / 1.844 GB, free: 129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/4.18, allocations: 55.03 kB / 1.844 GB, free: 129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/4.182, allocations: 0.8157 MB / 1.845 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/4.182, allocations: 29.14 kB / 1.845 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/4.182, allocations: 0.5657 MB / 1.845 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/4.182, allocations: 105.4 kB / 1.845 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/4.182, allocations: 7.5 kB / 1.845 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001064/4.182, allocations: 327.7 kB / 1.846 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/4.183, allocations: 186.8 kB / 1.846 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006939/4.184, allocations: 398.4 kB / 1.846 GB, free: 128 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/4.184, allocations: 234.5 kB / 1.846 GB, free: 128 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/4.184, allocations: 0 / 1.846 GB, free: 128 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002094/4.186, allocations: 0.7418 MB / 1.847 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/4.186, allocations: 7.656 kB / 1.847 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/4.186, allocations: 6.844 kB / 1.847 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000757/4.187, allocations: 138.6 kB / 1.847 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/4.188, allocations: 127.8 kB / 1.847 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/4.189, allocations: 1.693 MB / 1.849 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/4.19, allocations: 129 kB / 1.849 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/4.19, allocations: 28.98 kB / 1.849 GB, free: 126.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007454/4.191, allocations: 266.7 kB / 1.849 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/4.191, allocations: 104.6 kB / 1.85 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/4.193, allocations: 0.7246 MB / 1.85 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/4.193, allocations: 10.45 kB / 1.85 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/4.193, allocations: 3.516 kB / 1.85 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/4.193, allocations: 0 / 1.85 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/4.197, allocations: 1.611 MB / 1.852 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/4.197, allocations: 0 / 1.852 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/4.197, allocations: 84.22 kB / 1.852 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/4.198, allocations: 131.1 kB / 1.852 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/4.198, allocations: 14.09 kB / 1.852 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/4.199, allocations: 1.683 MB / 1.854 GB, free: 124 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/4.199, allocations: 0 / 1.854 GB, free: 124 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/4.2, allocations: 0.8833 MB / 1.855 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/4.201, allocations: 245.8 kB / 1.855 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/4.201, allocations: 7.469 kB / 1.855 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/4.202, allocations: 95.25 kB / 1.855 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/4.202, allocations: 30.27 kB / 1.855 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/4.202, allocations: 18.3 kB / 1.855 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001153/4.204, allocations: 0.6379 MB / 1.856 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/4.204, allocations: 0 / 1.856 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001824/4.205, allocations: 401.7 kB / 1.856 GB, free: 123.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003717/4.209, allocations: 2.361 MB / 1.858 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001612/4.211, allocations: 0.5419 MB / 1.859 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/4.211, allocations: 0 / 1.859 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007988/4.212, allocations: 296.5 kB / 1.859 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/4.214, allocations: 0.4926 MB / 1.86 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/4.227, allocations: 9.467 MB / 1.869 GB, free: 116 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008539/4.228, allocations: 1.124 MB / 1.87 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009908/4.229, allocations: 171.5 kB / 1.87 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/4.23, allocations: 405.4 kB / 1.87 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/4.23, allocations: 0 / 1.87 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/4.289, allocations: 32.12 MB / 1.902 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/4.289, allocations: 263.3 kB / 1.902 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/8.013, allocations: 3.938 kB / 1.902 GB, free: 102.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)