Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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 3.055/3.055, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001437/0.001436, allocations: 176.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001016/0.001015, allocations: 96.86 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005159, allocations: 12.03 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2496, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9777/1.227, allocations: 173.4 MB / 1.148 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01373/1.241, allocations: 5.355 MB / 1.153 GB, free: 8.535 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/1.243, allocations: 33.25 kB / 1.153 GB, free: 8.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/1.245, allocations: 397 kB / 1.153 GB, free: 8.305 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.005979/1.251, allocations: 1.209 MB / 1.155 GB, free: 7.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/1.256, allocations: 0.8876 MB / 1.155 GB, free: 6.914 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006391/1.263, allocations: 2.974 MB / 1.158 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/1.265, allocations: 0.6566 MB / 1.159 GB, free: 4.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/1.268, allocations: 0.8604 MB / 1.16 GB, free: 4.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/1.271, allocations: 0.7631 MB / 1.161 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003875/1.271, allocations: 37.59 kB / 1.161 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004553/1.276, allocations: 0.9261 MB / 1.162 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/1.277, allocations: 330.5 kB / 1.162 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/1.277, allocations: 241.7 kB / 1.162 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003903/1.281, allocations: 1.398 MB / 1.163 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.281, allocations: 0 / 1.163 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.604e-06/1.281, allocations: 0 / 1.163 GB, free: 2.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.013e-05/1.281, allocations: 0.875 kB / 1.163 GB, free: 2.191 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.004115/1.286, allocations: 1.236 MB / 1.165 GB, free: 1.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.286, allocations: 10.19 kB / 1.165 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004469/1.286, allocations: 127.3 kB / 1.165 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/1.291, allocations: 442.3 kB / 1.165 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/1.294, allocations: 0.7252 MB / 1.166 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006578/1.294, allocations: 127.8 kB / 1.166 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/1.295, allocations: 77.75 kB / 1.166 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/1.298, allocations: 1.002 MB / 1.167 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/1.298, allocations: 1.5 kB / 1.167 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/1.299, allocations: 32.41 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.152e-05/1.299, allocations: 35.16 kB / 1.167 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/1.302, allocations: 0.9004 MB / 1.168 GB, free: 15.26 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.01165/1.314, allocations: 3.524 MB / 1.171 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/1.317, allocations: 0.6573 MB / 1.172 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.319, allocations: 348.5 kB / 1.172 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/1.319, allocations: 101.8 kB / 1.173 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/1.319, allocations: 45.25 kB / 1.173 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.406e-06/1.319, allocations: 6.594 kB / 1.173 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.0149/1.334, allocations: 2.513 MB / 1.175 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/1.334, allocations: 57 kB / 1.175 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.336, allocations: 0.7861 MB / 1.176 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/1.336, allocations: 39.73 kB / 1.176 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/1.337, allocations: 443.8 kB / 1.176 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.337, allocations: 144.8 kB / 1.176 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/1.337, allocations: 10.94 kB / 1.176 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.337, allocations: 326.6 kB / 1.177 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.338, allocations: 317.4 kB / 1.177 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/1.34, allocations: 442.3 kB / 1.178 GB, free: 8.645 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.007084/1.347, allocations: 1.31 MB / 1.179 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.347, allocations: 2.625 kB / 1.179 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.005847/1.353, allocations: 1.076 MB / 1.18 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.353, allocations: 5.562 kB / 1.18 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.353, allocations: 10.45 kB / 1.18 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.354, allocations: 186 kB / 1.18 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.356, allocations: 162.3 kB / 1.18 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006182/1.362, allocations: 2.119 MB / 1.182 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/1.364, allocations: 90.14 kB / 1.182 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/1.364, allocations: 20.81 kB / 1.182 GB, free: 5.512 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.0007596/1.365, allocations: 282.1 kB / 1.183 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/1.365, allocations: 91.22 kB / 1.183 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/1.365, allocations: 94.75 kB / 1.183 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.365, allocations: 5.969 kB / 1.183 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.365, allocations: 3.953 kB / 1.183 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00527/1.371, allocations: 0.9539 MB / 1.184 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/1.381, allocations: 2.165 MB / 1.186 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.381, allocations: 3.344 kB / 1.186 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.382, allocations: 144.5 kB / 1.186 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.383, allocations: 201.8 kB / 1.186 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/1.383, allocations: 12 kB / 1.186 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/1.389, allocations: 2.052 MB / 1.188 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.389, allocations: 7.031 kB / 1.188 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007302/1.397, allocations: 1.515 MB / 1.19 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009331/1.398, allocations: 235.9 kB / 1.19 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.398, allocations: 20.39 kB / 1.19 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.4, allocations: 97.48 kB / 1.19 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.4, allocations: 44.47 kB / 1.19 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.4, allocations: 30.86 kB / 1.19 GB, free: 136 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001193/1.401, allocations: 0.5492 MB / 1.191 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.401, allocations: 0 / 1.191 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001696/1.403, allocations: 269.7 kB / 1.191 GB, free: 15.8 MB / 0.7292 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.008134/1.411, allocations: 2.159 MB / 1.193 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003622/1.415, allocations: 0.8301 MB / 1.194 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.415, allocations: 4.438 kB / 1.194 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.417, allocations: 483 kB / 1.194 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/1.422, allocations: 0.5246 MB / 1.195 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/1.444, allocations: 5.853 MB / 1.201 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/1.445, allocations: 1.036 MB / 1.202 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00157/1.446, allocations: 199.2 kB / 1.202 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007745/1.447, allocations: 315.3 kB / 1.202 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of SimCode: time 1.844e-06/1.447, allocations: 0 / 1.202 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08614/1.533, allocations: 26.96 MB / 1.228 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004582/1.534, allocations: 302.7 kB / 1.229 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/5.355, allocations: 0 / 1.229 GB, free: 10.9 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)