Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005741/0.0005744, allocations: 18.38 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2706, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7457/1.016, allocations: 173.3 MB / 0.9566 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009235/1.026, allocations: 5.33 MB / 0.9618 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/1.027, allocations: 29.44 kB / 0.9619 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.029, allocations: 394.2 kB / 0.9622 GB, free: 4.48 MB / 0.7169 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.004446/1.033, allocations: 1.202 MB / 0.9634 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/1.037, allocations: 0.8893 MB / 0.9643 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004491/1.041, allocations: 2.951 MB / 0.9672 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/1.043, allocations: 0.7391 MB / 0.9679 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/1.045, allocations: 0.8611 MB / 0.9687 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/1.047, allocations: 0.7909 MB / 0.9695 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/1.047, allocations: 41.66 kB / 0.9695 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/1.05, allocations: 0.9299 MB / 0.9704 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000598/1.051, allocations: 430 kB / 0.9709 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007107/1.051, allocations: 252.3 kB / 0.9711 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/1.054, allocations: 1.518 MB / 0.9726 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.054, allocations: 3.938 kB / 0.9726 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.276e-06/1.054, allocations: 0 / 0.9726 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.623e-05/1.054, allocations: 1.859 kB / 0.9726 GB, free: 18.89 MB / 0.7325 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.002682/1.056, allocations: 1.297 MB / 0.9738 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.056, allocations: 12.25 kB / 0.9739 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/1.057, allocations: 140.8 kB / 0.974 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/1.06, allocations: 0.4956 MB / 0.9745 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/1.062, allocations: 0.79 MB / 0.9752 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/1.062, allocations: 127.8 kB / 0.9754 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/1.063, allocations: 87.78 kB / 0.9755 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/1.065, allocations: 1.201 MB / 0.9766 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.065, allocations: 0 / 0.9766 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/1.065, allocations: 39.91 kB / 0.9767 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/1.065, allocations: 29.97 kB / 0.9767 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.067, allocations: 1.104 MB / 0.9778 GB, free: 17.22 MB / 0.7325 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.008045/1.075, allocations: 4.364 MB / 0.982 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/1.077, allocations: 0.7962 MB / 0.9828 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/1.078, allocations: 424.6 kB / 0.9832 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/1.078, allocations: 108.7 kB / 0.9833 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.078, allocations: 41.94 kB / 0.9834 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/1.078, allocations: 2.906 kB / 0.9834 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005695/1.084, allocations: 2.279 MB / 0.9856 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/1.084, allocations: 59.69 kB / 0.9856 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.085, allocations: 0.8474 MB / 0.9865 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/1.085, allocations: 37.61 kB / 0.9865 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/1.085, allocations: 499.8 kB / 0.987 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.086, allocations: 158.4 kB / 0.9871 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/1.086, allocations: 13.94 kB / 0.9871 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.086, allocations: 333.5 kB / 0.9875 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/1.087, allocations: 388.1 kB / 0.9878 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009369/1.088, allocations: 0.5262 MB / 0.9884 GB, free: 11.99 MB / 0.7325 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.003899/1.091, allocations: 1.556 MB / 0.9899 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.091, allocations: 3.953 kB / 0.9899 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002268/1.094, allocations: 1.027 MB / 0.9909 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.094, allocations: 5.719 kB / 0.9909 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.094, allocations: 3 kB / 0.9909 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.094, allocations: 9.344 kB / 0.9909 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/1.095, allocations: 208.8 kB / 0.9911 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.095, allocations: 6.469 kB / 0.9911 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.096, allocations: 117.9 kB / 0.9912 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/1.096, allocations: 25.19 kB / 0.9912 GB, free: 11.13 MB / 0.7325 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.0006493/1.097, allocations: 310.2 kB / 0.9915 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/1.097, allocations: 93.83 kB / 0.9916 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/1.097, allocations: 108.3 kB / 0.9917 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.097, allocations: 7.203 kB / 0.9917 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.097, allocations: 0 / 0.9917 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/1.099, allocations: 1.065 MB / 0.9928 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/1.104, allocations: 2.212 MB / 0.9949 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.104, allocations: 5.906 kB / 0.9949 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/1.105, allocations: 181 kB / 0.9951 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/1.105, allocations: 14.12 kB / 0.9951 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/1.105, allocations: 11.84 kB / 0.9951 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/1.105, allocations: 13.88 kB / 0.9951 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.105, allocations: 3.438 kB / 0.9952 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/1.108, allocations: 1.501 MB / 0.9966 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/1.109, allocations: 250.1 kB / 0.9969 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/1.109, allocations: 16.58 kB / 0.9969 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.111, allocations: 114.1 kB / 0.997 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/1.111, allocations: 37.98 kB / 0.997 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.111, allocations: 35 kB / 0.997 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009508/1.112, allocations: 0.5874 MB / 0.9976 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/1.112, allocations: 0 / 0.9976 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001202/1.113, allocations: 269.1 kB / 0.9979 GB, free: 8.34 MB / 0.7325 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.003789/1.117, allocations: 2.147 MB / 1 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.119, allocations: 0.8453 MB / 1.001 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.119, allocations: 5.75 kB / 1.001 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009019/1.12, allocations: 419.8 kB / 1.001 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.123, allocations: 0.5525 MB / 1.002 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.138, allocations: 6.418 MB / 1.008 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.139, allocations: 1.112 MB / 1.009 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001495/1.141, allocations: 260.8 kB / 1.009 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/1.142, allocations: 345.1 kB / 1.01 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of SimCode: time 1.303e-06/1.142, allocations: 0 / 1.01 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/1.198, allocations: 28.13 MB / 1.037 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.198, allocations: 278.5 kB / 1.037 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.705, allocations: 0 / 1.037 GB, free: 9.98 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: