Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.8408/0.8408, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001206/0.001206, allocations: 187.8 kB / 182.2 MB, free: 9.461 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.603/1.603, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009396/0.0009399, allocations: 91.98 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 279.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.031e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4418, allocations: 82.76 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.826/5.268, allocations: 1.879 GB / 2.636 GB, free: 179.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/5.268, allocations: 87.95 kB / 2.636 GB, free: 179.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.767/7.035, allocations: 456.9 MB / 3.082 GB, free: 150.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/7.035, allocations: 3.25 kB / 3.082 GB, free: 150.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.629e-05/7.035, allocations: 30.58 kB / 3.082 GB, free: 150.2 MB / 0.698 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.002803/7.038, allocations: 1.246 MB / 3.084 GB, free: 149.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/7.038, allocations: 9.188 kB / 3.084 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/7.04, allocations: 312.7 kB / 3.084 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/7.042, allocations: 0.8257 MB / 3.085 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/7.042, allocations: 30.28 kB / 3.085 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/7.042, allocations: 50.5 kB / 3.085 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/7.044, allocations: 0.7061 MB / 3.086 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/7.045, allocations: 0.8248 MB / 3.086 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/7.045, allocations: 2.062 kB / 3.086 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/7.045, allocations: 0 / 3.086 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/7.045, allocations: 35.62 kB / 3.086 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/7.05, allocations: 3.267 MB / 3.09 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/7.05, allocations: 442.3 kB / 3.09 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/7.051, allocations: 251.9 kB / 3.09 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/7.051, allocations: 97.67 kB / 3.09 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/7.051, allocations: 51.19 kB / 3.09 GB, free: 148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/7.051, allocations: 0 / 3.09 GB, free: 148 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002663/7.054, allocations: 1.32 MB / 3.092 GB, free: 147.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/7.054, allocations: 58.31 kB / 3.092 GB, free: 147.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/7.054, allocations: 0.5095 MB / 3.092 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/7.054, allocations: 30.47 kB / 3.092 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/7.055, allocations: 487.2 kB / 3.093 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/7.055, allocations: 163.1 kB / 3.093 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/7.055, allocations: 0 / 3.093 GB, free: 147.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/7.055, allocations: 384.5 kB / 3.093 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/7.055, allocations: 202.1 kB / 3.093 GB, free: 146.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/7.056, allocations: 337.1 kB / 3.094 GB, free: 146.6 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/7.058, allocations: 0.9109 MB / 3.095 GB, free: 146.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/7.058, allocations: 3.781 kB / 3.095 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001137/7.059, allocations: 0.6834 MB / 3.095 GB, free: 146.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/7.059, allocations: 10.22 kB / 3.095 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/7.059, allocations: 0 / 3.095 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/7.06, allocations: 94.7 kB / 3.095 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/7.06, allocations: 124.8 kB / 3.096 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/7.062, allocations: 2.808 MB / 3.098 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009855/7.063, allocations: 47.86 kB / 3.098 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/7.063, allocations: 20.69 kB / 3.098 GB, free: 144.1 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/7.064, allocations: 124.4 kB / 3.098 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001/7.065, allocations: 0.542 MB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/7.065, allocations: 76.41 kB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/7.065, allocations: 81.14 kB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/7.065, allocations: 11.77 kB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/7.065, allocations: 2.734 kB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000784/7.066, allocations: 0.7782 MB / 3.1 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/7.069, allocations: 1.562 MB / 3.101 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/7.069, allocations: 8.906 kB / 3.101 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/7.069, allocations: 110.5 kB / 3.102 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/7.07, allocations: 63.8 kB / 3.102 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/7.07, allocations: 10.91 kB / 3.102 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/7.071, allocations: 1.532 MB / 3.103 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/7.071, allocations: 6.688 kB / 3.103 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/7.072, allocations: 1.107 MB / 3.104 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/7.073, allocations: 225.7 kB / 3.104 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/7.073, allocations: 3.406 kB / 3.104 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/7.074, allocations: 49.11 kB / 3.104 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/7.074, allocations: 47 kB / 3.105 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/7.074, allocations: 29.44 kB / 3.105 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004703/7.074, allocations: 403.9 kB / 3.105 GB, free: 141 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.074, allocations: 0 / 3.105 GB, free: 141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001472/7.076, allocations: 366.9 kB / 3.105 GB, free: 141 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003161/7.079, allocations: 3.885 MB / 3.109 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001008/7.08, allocations: 0.6962 MB / 3.11 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/7.08, allocations: 3.938 kB / 3.11 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/7.08, allocations: 350.8 kB / 3.11 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/7.082, allocations: 459.5 kB / 3.111 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/7.085, allocations: 1.503 MB / 3.112 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/7.085, allocations: 1.103 MB / 3.113 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007291/7.086, allocations: 183.7 kB / 3.113 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/7.087, allocations: 337.5 kB / 3.114 GB, free: 137.3 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/7.087, allocations: 0 / 3.114 GB, free: 137.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/7.147, allocations: 31.73 MB / 3.145 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/7.148, allocations: 202.9 kB / 3.145 GB, free: 136.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/10.21, allocations: 0 / 3.145 GB, free: 136.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)