Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.9061/0.9061, allocations: 143.3 MB / 158.3 MB, free: 5.773 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.0017/0.0017, allocations: 173.1 kB / 191.5 MB, free: 5.762 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.745/1.745, allocations: 223.2 MB / 447.7 MB, free: 4.863 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.0009399/0.00094, allocations: 96.25 kB / 0.5187 GB, free: 1.215 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 265.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004308, allocations: 13.47 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1854, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.437/5.622, allocations: 1.879 GB / 2.653 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/5.622, allocations: 90.33 kB / 2.653 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.309/7.931, allocations: 0.5766 GB / 3.23 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/7.931, allocations: 7.125 kB / 3.23 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.577e-05/7.931, allocations: 33.3 kB / 3.23 GB, free: 150.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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002791/7.934, allocations: 1.354 MB / 3.231 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/7.934, allocations: 7.938 kB / 3.231 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/7.934, allocations: 126.5 kB / 3.231 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/7.937, allocations: 419 kB / 3.232 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/7.939, allocations: 0.7698 MB / 3.233 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/7.939, allocations: 124.6 kB / 3.233 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/7.939, allocations: 74.53 kB / 3.233 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/7.941, allocations: 0.9843 MB / 3.234 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/7.941, allocations: 5.375 kB / 3.234 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.481e-05/7.941, allocations: 29.22 kB / 3.234 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/7.941, allocations: 31.55 kB / 3.234 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/7.943, allocations: 0.8831 MB / 3.235 GB, free: 149.6 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.005629/7.949, allocations: 3.415 MB / 3.238 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/7.95, allocations: 0.6053 MB / 3.239 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/7.95, allocations: 99.55 kB / 3.239 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/7.95, allocations: 37.08 kB / 3.239 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.875e-06/7.95, allocations: 0 / 3.239 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.007588/7.958, allocations: 2.42 MB / 3.241 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/7.958, allocations: 58.19 kB / 3.241 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/7.959, allocations: 0.6828 MB / 3.242 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/7.959, allocations: 44.77 kB / 3.242 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/7.959, allocations: 442 kB / 3.242 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/7.959, allocations: 149.2 kB / 3.242 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/7.959, allocations: 7.125 kB / 3.242 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/7.96, allocations: 325.6 kB / 3.243 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/7.96, allocations: 299 kB / 3.243 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/7.961, allocations: 427.8 kB / 3.243 GB, free: 146.7 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.003395/7.964, allocations: 1.249 MB / 3.245 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/7.964, allocations: 0 / 3.245 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002972/7.967, allocations: 1.041 MB / 3.246 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/7.967, allocations: 7.375 kB / 3.246 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/7.967, allocations: 3.844 kB / 3.246 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/7.968, allocations: 172.8 kB / 3.246 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/7.968, allocations: 133.7 kB / 3.246 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/7.972, allocations: 2.08 MB / 3.248 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/7.973, allocations: 90.47 kB / 3.248 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/7.973, allocations: 18.53 kB / 3.248 GB, free: 145.2 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.000587/7.974, allocations: 277.7 kB / 3.248 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/7.974, allocations: 90.88 kB / 3.248 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/7.974, allocations: 91.45 kB / 3.249 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/7.974, allocations: 7.828 kB / 3.249 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/7.974, allocations: 0 / 3.249 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002508/7.976, allocations: 0.9023 MB / 3.249 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/7.981, allocations: 1.982 MB / 3.251 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/7.981, allocations: 3.25 kB / 3.251 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/7.982, allocations: 115.8 kB / 3.251 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/7.982, allocations: 177.8 kB / 3.252 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/7.982, allocations: 15.44 kB / 3.252 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/7.985, allocations: 2.029 MB / 3.254 GB, free: 142.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/7.985, allocations: 3.406 kB / 3.254 GB, free: 142.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/7.989, allocations: 1.569 MB / 3.255 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/7.989, allocations: 233.3 kB / 3.255 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/7.989, allocations: 14.75 kB / 3.255 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/7.99, allocations: 90.2 kB / 3.255 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/7.99, allocations: 45.05 kB / 3.256 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/7.991, allocations: 28.88 kB / 3.256 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000762/7.991, allocations: 0.5468 MB / 3.256 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/7.991, allocations: 0 / 3.256 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001528/7.993, allocations: 399 kB / 3.256 GB, free: 141.2 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 (37): * Single equations (assignments): 36 * 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.005805/7.999, allocations: 4.238 MB / 3.261 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001858/8.001, allocations: 0.797 MB / 3.261 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/8.001, allocations: 3.031 kB / 3.261 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007749/8.001, allocations: 450.4 kB / 3.262 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/8.004, allocations: 0.5208 MB / 3.262 GB, free: 137.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/8.016, allocations: 7.357 MB / 3.27 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/8.017, allocations: 1.059 MB / 3.271 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001138/8.018, allocations: 205.3 kB / 3.271 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/8.019, allocations: 307.3 kB / 3.271 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.333e-06/8.019, allocations: 0 / 3.271 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.082/8.101, allocations: 46.4 MB / 3.316 GB, free: 82.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/8.101, allocations: 310.3 kB / 3.317 GB, free: 82.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/11.68, allocations: 0 / 3.317 GB, free: 82.63 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)