Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009243/0.0009244, allocations: 179.4 kB / 325.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 86.36 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 12.5 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1598, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.587/0.7468, allocations: 218.9 MB / 1.11 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008649/0.7555, allocations: 5.855 MB / 1.116 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.7571, allocations: 35.59 kB / 1.116 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.7587, allocations: 0.5084 MB / 1.116 GB, free: 1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.7634, allocations: 1.639 MB / 1.118 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.7663, allocations: 1.11 MB / 1.119 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.7702, allocations: 3.722 MB / 1.122 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.7713, allocations: 0.8798 MB / 1.123 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.7733, allocations: 0.8736 MB / 1.124 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.7754, allocations: 0.8853 MB / 1.125 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.7756, allocations: 43.91 kB / 1.125 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.7787, allocations: 1.717 MB / 1.127 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.7792, allocations: 457.7 kB / 1.127 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007227/0.78, allocations: 0.5832 MB / 1.128 GB, free: 0.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.7827, allocations: 2.225 MB / 1.13 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7828, allocations: 0 / 1.13 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7828, allocations: 3.234 kB / 1.13 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.446e-05/0.7828, allocations: 0 / 1.13 GB, free: 0.5273 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002384/0.7852, allocations: 1.308 MB / 1.131 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7853, allocations: 15.22 kB / 1.131 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.7854, allocations: 145.6 kB / 1.131 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.7882, allocations: 487.2 kB / 1.132 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.7896, allocations: 0.8179 MB / 1.133 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.79, allocations: 135.3 kB / 1.133 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.7901, allocations: 94.33 kB / 1.133 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.7926, allocations: 1.231 MB / 1.134 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.7926, allocations: 3.219 kB / 1.134 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7927, allocations: 39.19 kB / 1.134 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.968e-05/0.7928, allocations: 40.81 kB / 1.134 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.7954, allocations: 1.11 MB / 1.135 GB, free: 15.12 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.007078/0.8025, allocations: 4.388 MB / 1.14 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.8043, allocations: 0.7938 MB / 1.14 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.8052, allocations: 417.9 kB / 1.141 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.8054, allocations: 104 kB / 1.141 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.8055, allocations: 40.06 kB / 1.141 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.585e-06/0.8055, allocations: 0 / 1.141 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.005774/0.8113, allocations: 2.282 MB / 1.143 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.8114, allocations: 62.19 kB / 1.143 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.8125, allocations: 0.8826 MB / 1.144 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/0.8126, allocations: 39.55 kB / 1.144 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.813, allocations: 0.4909 MB / 1.145 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.8131, allocations: 160.4 kB / 1.145 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.8132, allocations: 51.03 kB / 1.145 GB, free: 12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8133, allocations: 331.5 kB / 1.145 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009094/0.8143, allocations: 385.4 kB / 1.145 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.8152, allocations: 0.5395 MB / 1.146 GB, free: 11.36 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.00552/0.8208, allocations: 2.336 MB / 1.148 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8208, allocations: 3 kB / 1.148 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002239/0.823, allocations: 1.032 MB / 1.149 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.8231, allocations: 6.062 kB / 1.149 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.8231, allocations: 2.938 kB / 1.149 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.8231, allocations: 8.406 kB / 1.149 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.824, allocations: 215.7 kB / 1.149 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.824, allocations: 7.812 kB / 1.149 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.8253, allocations: 109 kB / 1.15 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.8254, allocations: 33.95 kB / 1.15 GB, free: 10.25 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: 19 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005933/0.826, allocations: 314.3 kB / 1.15 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.8261, allocations: 100.1 kB / 1.15 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.8263, allocations: 111 kB / 1.15 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8264, allocations: 2.562 kB / 1.15 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8264, allocations: 0 / 1.15 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/0.8283, allocations: 1.06 MB / 1.151 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/0.8328, allocations: 2.236 MB / 1.153 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8328, allocations: 3.531 kB / 1.153 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.8336, allocations: 184 kB / 1.153 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.8336, allocations: 13.98 kB / 1.154 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.8337, allocations: 16.34 kB / 1.154 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.8337, allocations: 10.03 kB / 1.154 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8337, allocations: 5.125 kB / 1.154 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.8367, allocations: 1.503 MB / 1.155 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.8372, allocations: 262.9 kB / 1.155 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.8374, allocations: 20.41 kB / 1.155 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/0.8384, allocations: 124.4 kB / 1.155 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.8385, allocations: 36.34 kB / 1.155 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.8386, allocations: 33.62 kB / 1.155 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007241/0.8393, allocations: 0.6111 MB / 1.156 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8393, allocations: 0 / 1.156 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008024/0.8401, allocations: 264.3 kB / 1.156 GB, free: 6.711 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003514/0.8436, allocations: 2.148 MB / 1.158 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.8458, allocations: 0.8484 MB / 1.159 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.8458, allocations: 1.875 kB / 1.159 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.8468, allocations: 411.4 kB / 1.16 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.8498, allocations: 0.568 MB / 1.16 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.865, allocations: 9.016 MB / 1.169 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.8657, allocations: 1.114 MB / 1.17 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00117/0.8669, allocations: 263.8 kB / 1.17 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.8675, allocations: 359.3 kB / 1.171 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.8675, allocations: 0 / 1.171 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0969/0.9644, allocations: 27.76 MB / 1.198 GB, free: 96 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.9647, allocations: 318.4 kB / 1.198 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.717, allocations: 0 / 1.198 GB, free: 15.7 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)