Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.452/1.452, allocations: 251.9 MB / 266.9 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.001202/0.001203, allocations: 186.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.345/2.345, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.00112/0.001119, allocations: 102.7 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 11.06 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2829, allocations: 106.3 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.205, allocations: 2.192 GB / 3.092 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/6.205, allocations: 95.95 kB / 3.092 GB, free: 27.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.57/8.775, allocations: 0.5557 GB / 3.648 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.693e-06/8.776, allocations: 0 / 3.648 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002176/8.776, allocations: 24 kB / 3.648 GB, free: 163.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004637/8.78, allocations: 1.379 MB / 3.649 GB, free: 162 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/8.78, allocations: 8.031 kB / 3.65 GB, free: 162 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/8.781, allocations: 134.7 kB / 3.65 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/8.783, allocations: 407.8 kB / 3.65 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/8.785, allocations: 0.794 MB / 3.651 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/8.786, allocations: 129.9 kB / 3.651 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/8.786, allocations: 76 kB / 3.651 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/8.788, allocations: 1.01 MB / 3.652 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/8.788, allocations: 3.938 kB / 3.652 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/8.788, allocations: 39.94 kB / 3.652 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/8.788, allocations: 33.98 kB / 3.652 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/8.79, allocations: 0.8783 MB / 3.653 GB, free: 158.4 MB / 0.8855 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.00574/8.796, allocations: 3.419 MB / 3.656 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/8.797, allocations: 0.6009 MB / 3.657 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/8.797, allocations: 101.4 kB / 3.657 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/8.797, allocations: 38.89 kB / 3.657 GB, free: 154 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/8.797, allocations: 0 / 3.657 GB, free: 154 MB / 0.8855 GB Notification: Performance of matching and sorting (n=41): time 0.007405/8.805, allocations: 2.417 MB / 3.659 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/8.805, allocations: 55.41 kB / 3.659 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/8.806, allocations: 0.7075 MB / 3.66 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/8.806, allocations: 41.64 kB / 3.66 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/8.806, allocations: 455.6 kB / 3.661 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/8.806, allocations: 141.9 kB / 3.661 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/8.806, allocations: 12 kB / 3.661 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001091/8.807, allocations: 326 kB / 3.661 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/8.807, allocations: 296.9 kB / 3.661 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/8.808, allocations: 428.4 kB / 3.662 GB, free: 149 MB / 0.8855 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.003073/8.811, allocations: 1.204 MB / 3.663 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/8.811, allocations: 4 kB / 3.663 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002924/8.814, allocations: 1.042 MB / 3.664 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/8.814, allocations: 8.781 kB / 3.664 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/8.814, allocations: 4 kB / 3.664 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/8.815, allocations: 172.8 kB / 3.664 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/8.815, allocations: 135.8 kB / 3.664 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/8.82, allocations: 2.151 MB / 3.666 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/8.821, allocations: 99.75 kB / 3.666 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/8.821, allocations: 20 kB / 3.666 GB, free: 144 MB / 0.8855 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: 14 * 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.0009172/8.822, allocations: 286.2 kB / 3.667 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/8.823, allocations: 90.97 kB / 3.667 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/8.823, allocations: 96.41 kB / 3.667 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/8.823, allocations: 8 kB / 3.667 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/8.823, allocations: 0 / 3.667 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002735/8.826, allocations: 0.8948 MB / 3.668 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005235/8.831, allocations: 1.992 MB / 3.67 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/8.831, allocations: 4 kB / 3.67 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/8.832, allocations: 116 kB / 3.67 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/8.832, allocations: 168.7 kB / 3.67 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/8.832, allocations: 12 kB / 3.67 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/8.836, allocations: 2.026 MB / 3.672 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/8.836, allocations: 4 kB / 3.672 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/8.84, allocations: 1.575 MB / 3.674 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/8.841, allocations: 243.9 kB / 3.674 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/8.841, allocations: 15.98 kB / 3.674 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/8.842, allocations: 87.98 kB / 3.674 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/8.842, allocations: 31.95 kB / 3.674 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/8.842, allocations: 39.92 kB / 3.674 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009902/8.843, allocations: 0.5575 MB / 3.674 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/8.844, allocations: 0 / 3.674 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001877/8.845, allocations: 395.9 kB / 3.675 GB, free: 135 MB / 0.8855 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.006598/8.852, allocations: 4.217 MB / 3.679 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002466/8.854, allocations: 0.8763 MB / 3.68 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/8.855, allocations: 0 / 3.68 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/8.855, allocations: 461 kB / 3.68 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/8.858, allocations: 0.5219 MB / 3.681 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/8.873, allocations: 7.714 MB / 3.688 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/8.874, allocations: 1.079 MB / 3.689 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001158/8.875, allocations: 207.1 kB / 3.69 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/8.875, allocations: 311.3 kB / 3.69 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.543e-06/8.875, allocations: 0 / 3.69 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08071/8.956, allocations: 46.65 MB / 3.735 GB, free: 72.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/8.957, allocations: 307.3 kB / 3.736 GB, free: 72.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/12.62, allocations: 0 / 3.736 GB, free: 72.57 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)