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.9042/0.9042, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001415/0.001415, allocations: 173.1 kB / 191.5 MB, free: 5.766 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.679/1.679, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001141/0.001141, allocations: 88.28 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 271.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004954, allocations: 16.34 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1974, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.406/5.603, allocations: 1.879 GB / 2.653 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/5.604, allocations: 90.02 kB / 2.653 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.122/7.726, allocations: 462.7 MB / 3.105 GB, free: 150 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.998e-06/7.726, allocations: 1.125 kB / 3.105 GB, free: 150 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001538/7.726, allocations: 30.42 kB / 3.105 GB, free: 150 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.00559/7.732, allocations: 1.389 MB / 3.106 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.764e-05/7.732, allocations: 13.17 kB / 3.106 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/7.732, allocations: 139.3 kB / 3.107 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/7.735, allocations: 309.2 kB / 3.107 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/7.738, allocations: 0.8313 MB / 3.108 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.675e-05/7.738, allocations: 64.98 kB / 3.108 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/7.738, allocations: 90.66 kB / 3.108 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/7.741, allocations: 0.9768 MB / 3.109 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/7.741, allocations: 0 / 3.109 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/7.741, allocations: 35.59 kB / 3.109 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/7.741, allocations: 33.59 kB / 3.109 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/7.743, allocations: 0.8002 MB / 3.11 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007932/7.751, allocations: 3.473 MB / 3.113 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/7.752, allocations: 493 kB / 3.114 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/7.752, allocations: 96.47 kB / 3.114 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/7.752, allocations: 41.84 kB / 3.114 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 4.358e-06/7.752, allocations: 0 / 3.114 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.005732/7.758, allocations: 1.874 MB / 3.116 GB, free: 147 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/7.758, allocations: 56.31 kB / 3.116 GB, free: 147 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/7.759, allocations: 0.697 MB / 3.116 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.071e-05/7.759, allocations: 40.91 kB / 3.116 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/7.76, allocations: 479 kB / 3.117 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/7.76, allocations: 173 kB / 3.117 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/7.76, allocations: 16.31 kB / 3.117 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/7.76, allocations: 326.9 kB / 3.117 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/7.761, allocations: 233.2 kB / 3.117 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/7.762, allocations: 373.6 kB / 3.118 GB, free: 146.1 MB / 0.7136 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.003295/7.765, allocations: 0.9819 MB / 3.119 GB, free: 146 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.765, allocations: 0 / 3.119 GB, free: 146 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002193/7.767, allocations: 0.7638 MB / 3.12 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/7.767, allocations: 6.406 kB / 3.12 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/7.767, allocations: 10.73 kB / 3.12 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/7.768, allocations: 85.56 kB / 3.12 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/7.768, allocations: 127.7 kB / 3.12 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/7.771, allocations: 2.974 MB / 3.123 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/7.773, allocations: 62.11 kB / 3.123 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/7.773, allocations: 20.66 kB / 3.123 GB, free: 143.4 MB / 0.7136 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 () * Number of clocked 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.0009676/7.774, allocations: 307.7 kB / 3.123 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/7.774, allocations: 93.36 kB / 3.123 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/7.774, allocations: 99.73 kB / 3.123 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/7.774, allocations: 3.781 kB / 3.123 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/7.774, allocations: 0 / 3.123 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/7.776, allocations: 0.8258 MB / 3.124 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/7.779, allocations: 1.734 MB / 3.126 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/7.779, allocations: 3.969 kB / 3.126 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/7.78, allocations: 114.8 kB / 3.126 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/7.78, allocations: 68.25 kB / 3.126 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/7.78, allocations: 11.31 kB / 3.126 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/7.781, allocations: 1.617 MB / 3.127 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/7.781, allocations: 3.75 kB / 3.127 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/7.783, allocations: 1.209 MB / 3.129 GB, free: 140.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/7.784, allocations: 233.3 kB / 3.129 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/7.784, allocations: 16.5 kB / 3.129 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/7.785, allocations: 59.16 kB / 3.129 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/7.785, allocations: 38.05 kB / 3.129 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/7.785, allocations: 35.39 kB / 3.129 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007941/7.786, allocations: 0.5492 MB / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/7.786, allocations: 0 / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001942/7.788, allocations: 412.7 kB / 3.13 GB, free: 140.3 MB / 0.7136 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 () * Number of clocked 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.004313/7.792, allocations: 3.805 MB / 3.134 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001449/7.793, allocations: 0.7822 MB / 3.134 GB, free: 138 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/7.793, allocations: 5.906 kB / 3.134 GB, free: 138 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/7.794, allocations: 391.9 kB / 3.135 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/7.797, allocations: 0.5757 MB / 3.135 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/7.806, allocations: 6.969 MB / 3.142 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007936/7.807, allocations: 1.098 MB / 3.143 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001226/7.808, allocations: 211.8 kB / 3.143 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/7.809, allocations: 337.6 kB / 3.144 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.914e-06/7.809, allocations: 0 / 3.144 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08823/7.897, allocations: 46.46 MB / 3.189 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/7.897, allocations: 271.3 kB / 3.189 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/11.57, allocations: 0 / 3.189 GB, free: 132.1 MB / 0.7136 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)