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.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 168.9 kB / 316.3 MB, free: 3.25 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.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.000894/0.0008939, allocations: 88.42 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.818e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.128/6.328, allocations: 2.192 GB / 3.078 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/6.328, allocations: 91.94 kB / 3.078 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.025/8.353, allocations: 0.5487 GB / 3.626 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.923e-06/8.353, allocations: 0 / 3.626 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002372/8.354, allocations: 25.81 kB / 3.626 GB, free: 203.4 MB / 0.8698 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.005618/8.359, allocations: 1.243 MB / 3.628 GB, free: 203 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/8.359, allocations: 9.812 kB / 3.628 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/8.363, allocations: 408 kB / 3.628 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/8.366, allocations: 0.7867 MB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/8.366, allocations: 105 kB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/8.366, allocations: 45.84 kB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/8.368, allocations: 0.661 MB / 3.63 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/8.369, allocations: 0.8037 MB / 3.63 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/8.369, allocations: 5.688 kB / 3.63 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/8.37, allocations: 1.156 kB / 3.63 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/8.37, allocations: 28.53 kB / 3.63 GB, free: 202.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006447/8.376, allocations: 3.225 MB / 3.634 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/8.377, allocations: 409.3 kB / 3.634 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/8.377, allocations: 226.7 kB / 3.634 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/8.377, allocations: 98.94 kB / 3.634 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/8.377, allocations: 42.88 kB / 3.634 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/8.377, allocations: 1.281 kB / 3.634 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.004359/8.382, allocations: 1.416 MB / 3.636 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/8.382, allocations: 59 kB / 3.636 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/8.383, allocations: 0.5094 MB / 3.636 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/8.383, allocations: 27.77 kB / 3.636 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/8.383, allocations: 456.6 kB / 3.637 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/8.383, allocations: 146.2 kB / 3.637 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/8.383, allocations: 0 / 3.637 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/8.383, allocations: 375.9 kB / 3.637 GB, free: 200 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/8.384, allocations: 197.6 kB / 3.637 GB, free: 200 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/8.384, allocations: 326.2 kB / 3.638 GB, free: 199.8 MB / 0.8698 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.002581/8.387, allocations: 0.9497 MB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/8.387, allocations: 1.672 kB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00236/8.389, allocations: 0.801 MB / 3.639 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/8.389, allocations: 11.52 kB / 3.639 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/8.389, allocations: 3.031 kB / 3.639 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/8.39, allocations: 139.5 kB / 3.64 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/8.39, allocations: 138.8 kB / 3.64 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/8.392, allocations: 1.729 MB / 3.641 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/8.394, allocations: 81.03 kB / 3.641 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/8.394, allocations: 27.33 kB / 3.641 GB, free: 198.4 MB / 0.8698 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * 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.0002596/8.394, allocations: 120.1 kB / 3.642 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001972/8.396, allocations: 0.6665 MB / 3.642 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/8.396, allocations: 80.73 kB / 3.642 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/8.396, allocations: 74.44 kB / 3.642 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/8.396, allocations: 4.344 kB / 3.642 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/8.396, allocations: 0 / 3.642 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/8.398, allocations: 0.692 MB / 3.643 GB, free: 198 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/8.402, allocations: 1.676 MB / 3.645 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/8.402, allocations: 6.75 kB / 3.645 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/8.403, allocations: 122.2 kB / 3.645 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/8.403, allocations: 137.2 kB / 3.645 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/8.403, allocations: 10.3 kB / 3.645 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/8.405, allocations: 1.741 MB / 3.647 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/8.405, allocations: 6.188 kB / 3.647 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/8.408, allocations: 1.253 MB / 3.648 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/8.408, allocations: 227.6 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/8.408, allocations: 7.312 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/8.409, allocations: 86.47 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/8.409, allocations: 36.73 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/8.409, allocations: 33.36 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005649/8.41, allocations: 398.7 kB / 3.649 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/8.41, allocations: 0 / 3.649 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001957/8.412, allocations: 340.8 kB / 3.649 GB, free: 195.7 MB / 0.8698 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 () * 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.004955/8.417, allocations: 4.097 MB / 3.653 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001108/8.418, allocations: 0.5674 MB / 3.654 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/8.418, allocations: 4.5 kB / 3.654 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/8.418, allocations: 355.8 kB / 3.654 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/8.42, allocations: 397.5 kB / 3.654 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/8.425, allocations: 1.584 MB / 3.656 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/8.426, allocations: 1.068 MB / 3.657 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008789/8.426, allocations: 179 kB / 3.657 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/8.427, allocations: 314.3 kB / 3.657 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.313e-06/8.427, allocations: 0 / 3.657 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06134/8.488, allocations: 31.22 MB / 3.688 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/8.488, allocations: 227.8 kB / 3.688 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/11.34, allocations: 0 / 3.688 GB, free: 190.9 MB / 0.8698 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)