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.7058/0.7058, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000992/0.0009917, allocations: 182.8 kB / 187.3 MB, free: 11.88 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.231/1.231, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.000848/0.000848, allocations: 95.36 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 270.8 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.256e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3536, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.578/3.932, allocations: 1.879 GB / 2.644 GB, free: 127.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/3.932, allocations: 85.7 kB / 2.644 GB, free: 127.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.642/5.574, allocations: 0.5762 GB / 3.22 GB, free: 86.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/5.574, allocations: 0 / 3.22 GB, free: 86.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.778e-05/5.574, allocations: 35.86 kB / 3.22 GB, free: 86.4 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00175/5.576, allocations: 1.225 MB / 3.221 GB, free: 85.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/5.576, allocations: 12.03 kB / 3.221 GB, free: 85.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/5.576, allocations: 122.6 kB / 3.221 GB, free: 84.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/5.578, allocations: 414.3 kB / 3.222 GB, free: 84.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/5.579, allocations: 0.7693 MB / 3.222 GB, free: 83.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/5.579, allocations: 117.9 kB / 3.223 GB, free: 83.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/5.58, allocations: 83.98 kB / 3.223 GB, free: 83.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/5.581, allocations: 0.8956 MB / 3.224 GB, free: 82.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/5.581, allocations: 0 / 3.224 GB, free: 82.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/5.581, allocations: 32 kB / 3.224 GB, free: 82.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/5.581, allocations: 29.98 kB / 3.224 GB, free: 82.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/5.582, allocations: 0.7029 MB / 3.224 GB, free: 81.88 MB / 0.698 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.004018/5.586, allocations: 3.394 MB / 3.228 GB, free: 78.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/5.586, allocations: 435.8 kB / 3.228 GB, free: 77.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/5.587, allocations: 237.8 kB / 3.228 GB, free: 77.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/5.587, allocations: 99.06 kB / 3.228 GB, free: 77.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/5.587, allocations: 42.56 kB / 3.228 GB, free: 77.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.432e-06/5.587, allocations: 0 / 3.228 GB, free: 77.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.002926/5.59, allocations: 1.477 MB / 3.23 GB, free: 75.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/5.59, allocations: 55.41 kB / 3.23 GB, free: 75.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/5.59, allocations: 0.6801 MB / 3.231 GB, free: 75.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/5.59, allocations: 37.7 kB / 3.231 GB, free: 75.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/5.591, allocations: 439.7 kB / 3.231 GB, free: 74.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/5.591, allocations: 149.8 kB / 3.231 GB, free: 74.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/5.591, allocations: 16 kB / 3.231 GB, free: 74.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/5.591, allocations: 325.9 kB / 3.231 GB, free: 74.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/5.591, allocations: 217 kB / 3.232 GB, free: 74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/5.591, allocations: 330.9 kB / 3.232 GB, free: 73.63 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.002083/5.593, allocations: 0.9958 MB / 3.233 GB, free: 72.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/5.593, allocations: 3.938 kB / 3.233 GB, free: 72.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001735/5.595, allocations: 0.8473 MB / 3.234 GB, free: 71.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/5.595, allocations: 9.406 kB / 3.234 GB, free: 71.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/5.595, allocations: 4 kB / 3.234 GB, free: 71.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/5.595, allocations: 136.8 kB / 3.234 GB, free: 71.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/5.596, allocations: 139.8 kB / 3.234 GB, free: 71.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/5.598, allocations: 1.848 MB / 3.236 GB, free: 69.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/5.599, allocations: 91.77 kB / 3.236 GB, free: 69.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/5.599, allocations: 23.94 kB / 3.236 GB, free: 69.38 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 (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.0001123/5.599, allocations: 132.9 kB / 3.236 GB, free: 69.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/5.599, allocations: 87.05 kB / 3.236 GB, free: 69.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/5.599, allocations: 95.91 kB / 3.236 GB, free: 69.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/5.599, allocations: 4 kB / 3.236 GB, free: 69.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/5.599, allocations: 4 kB / 3.236 GB, free: 69.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/5.601, allocations: 0.7076 MB / 3.237 GB, free: 68.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/5.603, allocations: 1.8 MB / 3.239 GB, free: 66.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/5.603, allocations: 4.406 kB / 3.239 GB, free: 66.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/5.604, allocations: 115.9 kB / 3.239 GB, free: 66.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/5.604, allocations: 140.8 kB / 3.239 GB, free: 66.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/5.604, allocations: 12.06 kB / 3.239 GB, free: 66.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/5.606, allocations: 1.823 MB / 3.241 GB, free: 64.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/5.606, allocations: 7.969 kB / 3.241 GB, free: 64.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/5.608, allocations: 1.282 MB / 3.242 GB, free: 62.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/5.608, allocations: 228 kB / 3.242 GB, free: 62.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/5.608, allocations: 12 kB / 3.242 GB, free: 62.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007942/5.609, allocations: 91.89 kB / 3.242 GB, free: 62.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/5.609, allocations: 43.84 kB / 3.242 GB, free: 62.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/5.609, allocations: 35.91 kB / 3.242 GB, free: 62.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004883/5.61, allocations: 0.5382 MB / 3.243 GB, free: 61.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.61, allocations: 0 / 3.243 GB, free: 61.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001024/5.611, allocations: 395.9 kB / 3.243 GB, free: 61.42 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 (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.003443/5.614, allocations: 3.98 MB / 3.247 GB, free: 57.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008487/5.615, allocations: 0.6067 MB / 3.248 GB, free: 56.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/5.615, allocations: 4.688 kB / 3.248 GB, free: 56.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/5.615, allocations: 370.4 kB / 3.248 GB, free: 56.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/5.617, allocations: 0.5204 MB / 3.249 GB, free: 55.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/5.621, allocations: 1.642 MB / 3.25 GB, free: 54.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/5.621, allocations: 1.059 MB / 3.251 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006592/5.622, allocations: 195 kB / 3.251 GB, free: 52.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/5.622, allocations: 307.3 kB / 3.252 GB, free: 52.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/5.622, allocations: 0 / 3.252 GB, free: 52.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05302/5.675, allocations: 49.8 MB / 3.3 GB, free: 2.973 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/5.675, allocations: 264.2 kB / 3.301 GB, free: 2.645 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/8.9, allocations: 2.5 kB / 3.301 GB, free: 2.645 MB / 0.698 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)