Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.7085/0.7085, 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.0009362/0.0009363, allocations: 183.2 kB / 187.3 MB, free: 11.89 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.235/1.235, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009032/0.0009035, allocations: 96.25 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 276.9 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.792e-05, allocations: 4 kB / 0.6835 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3859, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.728/4.114, allocations: 1.88 GB / 2.644 GB, free: 126.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/4.114, allocations: 86.14 kB / 2.644 GB, free: 126.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.724/5.838, allocations: 0.5777 GB / 3.222 GB, free: 83.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.81e-07/5.838, allocations: 0 / 3.222 GB, free: 83.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.722e-05/5.838, allocations: 24 kB / 3.222 GB, free: 83.91 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001837/5.84, allocations: 1.218 MB / 3.223 GB, free: 82.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/5.84, allocations: 8.031 kB / 3.223 GB, free: 82.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/5.84, allocations: 122.6 kB / 3.223 GB, free: 82.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/5.842, allocations: 422.3 kB / 3.224 GB, free: 82.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/5.843, allocations: 0.7615 MB / 3.224 GB, free: 81.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/5.844, allocations: 133.9 kB / 3.224 GB, free: 81.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/5.844, allocations: 72 kB / 3.224 GB, free: 81.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/5.845, allocations: 0.8968 MB / 3.225 GB, free: 80.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/5.845, allocations: 3.938 kB / 3.225 GB, free: 80.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/5.845, allocations: 39.98 kB / 3.225 GB, free: 80.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/5.845, allocations: 30 kB / 3.225 GB, free: 80.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/5.846, allocations: 0.7067 MB / 3.226 GB, free: 79.38 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.004113/5.85, allocations: 3.397 MB / 3.229 GB, free: 75.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/5.851, allocations: 453.4 kB / 3.23 GB, free: 75.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/5.851, allocations: 246.6 kB / 3.23 GB, free: 75.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/5.851, allocations: 115 kB / 3.23 GB, free: 74.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/5.851, allocations: 38.56 kB / 3.23 GB, free: 74.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.905e-06/5.851, allocations: 0 / 3.23 GB, free: 74.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.002273/5.854, allocations: 1.3 MB / 3.232 GB, free: 73.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/5.854, allocations: 55.41 kB / 3.232 GB, free: 73.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/5.854, allocations: 0.6721 MB / 3.232 GB, free: 72.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/5.854, allocations: 37.7 kB / 3.232 GB, free: 72.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/5.855, allocations: 447.5 kB / 3.233 GB, free: 72.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/5.855, allocations: 145.9 kB / 3.233 GB, free: 72.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/5.855, allocations: 12 kB / 3.233 GB, free: 72.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.189e-05/5.855, allocations: 325.9 kB / 3.233 GB, free: 71.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/5.855, allocations: 225 kB / 3.233 GB, free: 71.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/5.856, allocations: 356.4 kB / 3.234 GB, free: 71.24 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.002155/5.858, allocations: 1.027 MB / 3.235 GB, free: 70.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/5.858, allocations: 0 / 3.235 GB, free: 70.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000824/5.859, allocations: 0.6787 MB / 3.235 GB, free: 69.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/5.859, allocations: 4 kB / 3.235 GB, free: 69.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/5.859, allocations: 4 kB / 3.235 GB, free: 69.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/5.859, allocations: 8 kB / 3.235 GB, free: 69.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/5.859, allocations: 155.8 kB / 3.236 GB, free: 69.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/5.859, allocations: 11.92 kB / 3.236 GB, free: 69.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/5.86, allocations: 87.84 kB / 3.236 GB, free: 69.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/5.86, allocations: 23.98 kB / 3.236 GB, free: 69.23 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/5.86, allocations: 140.8 kB / 3.236 GB, free: 69.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/5.86, allocations: 87.02 kB / 3.236 GB, free: 69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/5.861, allocations: 95.78 kB / 3.236 GB, free: 68.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/5.861, allocations: 8 kB / 3.236 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/5.861, allocations: 0 / 3.236 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005658/5.861, allocations: 0.5273 MB / 3.237 GB, free: 68.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/5.863, allocations: 1.616 MB / 3.238 GB, free: 66.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/5.863, allocations: 0 / 3.238 GB, free: 66.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/5.864, allocations: 136.2 kB / 3.238 GB, free: 66.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/5.864, allocations: 8 kB / 3.238 GB, free: 66.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/5.864, allocations: 15.98 kB / 3.238 GB, free: 66.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/5.864, allocations: 19.94 kB / 3.238 GB, free: 66.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/5.864, allocations: 12 kB / 3.238 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/5.865, allocations: 1.114 MB / 3.239 GB, free: 65.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/5.865, allocations: 227.9 kB / 3.24 GB, free: 64.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/5.865, allocations: 19.98 kB / 3.24 GB, free: 64.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/5.866, allocations: 87.92 kB / 3.24 GB, free: 64.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/5.866, allocations: 35.91 kB / 3.24 GB, free: 64.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/5.866, allocations: 27.92 kB / 3.24 GB, free: 64.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004756/5.867, allocations: 0.5264 MB / 3.24 GB, free: 64.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.867, allocations: 0 / 3.24 GB, free: 64.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001001/5.868, allocations: 375.9 kB / 3.241 GB, free: 63.88 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 (41): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002538/5.87, allocations: 3.8 MB / 3.244 GB, free: 59.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006738/5.871, allocations: 0.5064 MB / 3.245 GB, free: 59.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/5.871, allocations: 4 kB / 3.245 GB, free: 59.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/5.871, allocations: 235.7 kB / 3.245 GB, free: 59.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/5.873, allocations: 0.4969 MB / 3.246 GB, free: 58.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/5.876, allocations: 1.618 MB / 3.247 GB, free: 57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/5.877, allocations: 1.056 MB / 3.248 GB, free: 55.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007721/5.878, allocations: 222.9 kB / 3.248 GB, free: 55.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/5.878, allocations: 323.3 kB / 3.249 GB, free: 55.38 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/5.878, allocations: 0 / 3.249 GB, free: 55.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05467/5.933, allocations: 47.58 MB / 3.295 GB, free: 8.066 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/5.933, allocations: 253.6 kB / 3.295 GB, free: 7.727 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/9.163, allocations: 0 / 3.295 GB, free: 7.727 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)