Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.447/1.447, allocations: 287.4 MB / 302.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 188.4 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.152/1.152, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006829/0.000683, allocations: 93.2 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 12.69 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4626/0.61, allocations: 173.3 MB / 1.148 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007713/0.6178, allocations: 5.346 MB / 1.153 GB, free: 8.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.6191, allocations: 32.56 kB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.6206, allocations: 396.3 kB / 1.154 GB, free: 8.262 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003711/0.6243, allocations: 1.193 MB / 1.155 GB, free: 7.512 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.627, allocations: 0.8891 MB / 1.156 GB, free: 6.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.6305, allocations: 2.972 MB / 1.159 GB, free: 5.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.6318, allocations: 0.8506 MB / 1.159 GB, free: 4.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.6335, allocations: 0.8675 MB / 1.16 GB, free: 4.207 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.6349, allocations: 0.789 MB / 1.161 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.6351, allocations: 43.34 kB / 1.161 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.6372, allocations: 0.9212 MB / 1.162 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.6376, allocations: 435 kB / 1.162 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.6379, allocations: 250.4 kB / 1.163 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.6394, allocations: 1.525 MB / 1.164 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6394, allocations: 1.188 kB / 1.164 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6395, allocations: 0 / 1.164 GB, free: 1.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.6395, allocations: 0 / 1.164 GB, free: 1.934 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001842/0.6413, allocations: 1.286 MB / 1.165 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.6414, allocations: 17.38 kB / 1.165 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.6415, allocations: 136.5 kB / 1.165 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.6441, allocations: 0.4928 MB / 1.166 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.6454, allocations: 0.8108 MB / 1.167 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.6457, allocations: 132.7 kB / 1.167 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6459, allocations: 89.34 kB / 1.167 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.6479, allocations: 1.192 MB / 1.168 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.648, allocations: 3.938 kB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/0.6481, allocations: 41.52 kB / 1.168 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.6481, allocations: 41.36 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.6503, allocations: 1.101 MB / 1.169 GB, free: 14.65 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.006213/0.6566, allocations: 4.362 MB / 1.174 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.6584, allocations: 0.7961 MB / 1.174 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/0.6592, allocations: 425.4 kB / 1.175 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.6594, allocations: 106.1 kB / 1.175 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6594, allocations: 41.02 kB / 1.175 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.6594, allocations: 0 / 1.175 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.005091/0.6645, allocations: 2.283 MB / 1.177 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.6646, allocations: 61.56 kB / 1.177 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.6654, allocations: 0.8514 MB / 1.178 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.6655, allocations: 36.61 kB / 1.178 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6658, allocations: 495.4 kB / 1.178 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.666, allocations: 161.1 kB / 1.179 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.666, allocations: 14.16 kB / 1.179 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6661, allocations: 327.8 kB / 1.179 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008753/0.667, allocations: 397.4 kB / 1.179 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.668, allocations: 0.5309 MB / 1.18 GB, free: 7.145 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.005458/0.6734, allocations: 2.357 MB / 1.182 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6734, allocations: 2.906 kB / 1.182 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002052/0.6755, allocations: 1.022 MB / 1.183 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6755, allocations: 5.938 kB / 1.183 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6755, allocations: 9.375 kB / 1.183 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6756, allocations: 9.703 kB / 1.183 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/0.6764, allocations: 212.2 kB / 1.183 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.6764, allocations: 9.703 kB / 1.183 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.6774, allocations: 104.4 kB / 1.183 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.6774, allocations: 30.48 kB / 1.184 GB, free: 5.297 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0003769/0.6778, allocations: 310.3 kB / 1.184 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6779, allocations: 94.38 kB / 1.184 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6781, allocations: 101.3 kB / 1.184 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.6782, allocations: 7.031 kB / 1.184 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6782, allocations: 2.438 kB / 1.184 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/0.6799, allocations: 1.078 MB / 1.185 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.684, allocations: 2.201 MB / 1.187 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.684, allocations: 5.094 kB / 1.187 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.6848, allocations: 192.3 kB / 1.187 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.6848, allocations: 4.875 kB / 1.187 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.6849, allocations: 20.14 kB / 1.187 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.6849, allocations: 5.781 kB / 1.187 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.6849, allocations: 10.88 kB / 1.187 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.6876, allocations: 1.504 MB / 1.189 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.688, allocations: 249 kB / 1.189 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.6881, allocations: 15.77 kB / 1.189 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.689, allocations: 109.1 kB / 1.189 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.6891, allocations: 40.23 kB / 1.189 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.6891, allocations: 34.05 kB / 1.189 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006213/0.6898, allocations: 0.59 MB / 1.19 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6898, allocations: 0 / 1.19 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008151/0.6906, allocations: 275.7 kB / 1.19 GB, free: 1.113 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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): 45 * 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.003248/0.6938, allocations: 2.155 MB / 1.192 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.6957, allocations: 0.8506 MB / 1.193 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6957, allocations: 0 / 1.193 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.6966, allocations: 416.2 kB / 1.193 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.6991, allocations: 0.5475 MB / 1.194 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7099, allocations: 6.424 MB / 1.2 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.7105, allocations: 1.103 MB / 1.201 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009285/0.7114, allocations: 263.8 kB / 1.202 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.7119, allocations: 347.3 kB / 1.202 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.7119, allocations: 0 / 1.202 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7309/1.443, allocations: 28.14 MB / 1.229 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/1.443, allocations: 284.4 kB / 1.23 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/4.142, allocations: 4 kB / 1.23 GB, free: 9.98 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)