Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001058/0.001058, allocations: 186.3 kB / 372 MB, free: 10.28 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.815/1.815, allocations: 205.4 MB / 0.6307 GB, free: 10 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.00104/0.00104, allocations: 89.3 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004323, allocations: 16.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.9118/1.199, allocations: 173.3 MB / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01185/1.211, allocations: 5.333 MB / 1.154 GB, free: 7.965 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/1.214, allocations: 27.97 kB / 1.154 GB, free: 7.953 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/1.215, allocations: 396.2 kB / 1.154 GB, free: 7.625 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.004815/1.22, allocations: 1.195 MB / 1.156 GB, free: 6.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/1.224, allocations: 0.8947 MB / 1.157 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005277/1.229, allocations: 2.955 MB / 1.159 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/1.231, allocations: 0.743 MB / 1.16 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/1.234, allocations: 0.8562 MB / 1.161 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/1.236, allocations: 0.8016 MB / 1.162 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/1.236, allocations: 45.25 kB / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/1.241, allocations: 0.9212 MB / 1.163 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009124/1.242, allocations: 432.1 kB / 1.163 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/1.242, allocations: 245.8 kB / 1.163 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003527/1.246, allocations: 1.522 MB / 1.165 GB, free: 1.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/1.246, allocations: 0 / 1.165 GB, free: 1.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.19e-06/1.246, allocations: 7.938 kB / 1.165 GB, free: 1.164 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.244e-05/1.246, allocations: 1.125 kB / 1.165 GB, free: 1.164 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.003323/1.249, allocations: 1.292 MB / 1.166 GB, free: 180 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.699e-05/1.249, allocations: 8.719 kB / 1.166 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/1.25, allocations: 144.6 kB / 1.166 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/1.253, allocations: 0.494 MB / 1.167 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.255, allocations: 0.7864 MB / 1.167 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/1.255, allocations: 133.2 kB / 1.168 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/1.256, allocations: 85.06 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/1.258, allocations: 1.197 MB / 1.169 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.258, allocations: 0 / 1.169 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.258, allocations: 38 kB / 1.169 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/1.258, allocations: 36.19 kB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/1.261, allocations: 1.1 MB / 1.17 GB, free: 13.92 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.009168/1.27, allocations: 4.369 MB / 1.174 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/1.272, allocations: 0.7936 MB / 1.175 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/1.273, allocations: 421 kB / 1.175 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/1.274, allocations: 105.6 kB / 1.176 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.274, allocations: 41.47 kB / 1.176 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 4.178e-06/1.274, allocations: 0 / 1.176 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.006484/1.28, allocations: 2.279 MB / 1.178 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/1.28, allocations: 57.22 kB / 1.178 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.281, allocations: 0.8459 MB / 1.179 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.214e-05/1.281, allocations: 42.7 kB / 1.179 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/1.282, allocations: 499.4 kB / 1.179 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/1.282, allocations: 161.1 kB / 1.179 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/1.282, allocations: 14.66 kB / 1.179 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.282, allocations: 330.4 kB / 1.18 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/1.283, allocations: 390 kB / 1.18 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/1.284, allocations: 0.5315 MB / 1.181 GB, free: 6.43 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.004403/1.289, allocations: 1.559 MB / 1.182 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.289, allocations: 6.797 kB / 1.182 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002465/1.291, allocations: 1.022 MB / 1.183 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.291, allocations: 7.188 kB / 1.183 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.291, allocations: 5.094 kB / 1.183 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.291, allocations: 8.281 kB / 1.183 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/1.292, allocations: 214.6 kB / 1.183 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/1.292, allocations: 6.109 kB / 1.183 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.294, allocations: 124.5 kB / 1.183 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/1.294, allocations: 23.53 kB / 1.183 GB, free: 5.039 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.000757/1.295, allocations: 310.8 kB / 1.184 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/1.295, allocations: 96.17 kB / 1.184 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/1.295, allocations: 109.2 kB / 1.184 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.295, allocations: 2.875 kB / 1.184 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.295, allocations: 0 / 1.184 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/1.297, allocations: 1.063 MB / 1.185 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/1.303, allocations: 2.205 MB / 1.187 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.303, allocations: 5.906 kB / 1.187 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/1.304, allocations: 183.3 kB / 1.187 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/1.304, allocations: 10.11 kB / 1.187 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/1.304, allocations: 15.64 kB / 1.187 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/1.304, allocations: 9.688 kB / 1.187 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.304, allocations: 2.062 kB / 1.187 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/1.308, allocations: 1.504 MB / 1.189 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/1.308, allocations: 250.6 kB / 1.189 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.309, allocations: 17.55 kB / 1.189 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.31, allocations: 111.8 kB / 1.189 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.31, allocations: 36.48 kB / 1.189 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/1.31, allocations: 30.84 kB / 1.189 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001098/1.311, allocations: 0.5873 MB / 1.19 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-07/1.311, allocations: 4 kB / 1.19 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001394/1.313, allocations: 271.8 kB / 1.19 GB, free: 0.8828 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.004306/1.317, allocations: 2.159 MB / 1.192 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002369/1.319, allocations: 0.8463 MB / 1.193 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.319, allocations: 2.688 kB / 1.193 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.32, allocations: 416.5 kB / 1.193 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/1.324, allocations: 0.5596 MB / 1.194 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.339, allocations: 6.416 MB / 1.2 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.341, allocations: 1.107 MB / 1.201 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001615/1.342, allocations: 263.8 kB / 1.202 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/1.343, allocations: 347.3 kB / 1.202 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of SimCode: time 1.953e-06/1.343, allocations: 0 / 1.202 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05551/1.399, allocations: 28.12 MB / 1.229 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.399, allocations: 292.8 kB / 1.23 GB, free: 10 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.252, allocations: 0 / 1.23 GB, free: 10 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)