Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 188.7 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 107.5 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.048e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3327, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.849/6.182, allocations: 1.919 GB / 3.125 GB, free: 431.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/6.182, allocations: 84.95 kB / 3.125 GB, free: 431.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.878/8.06, allocations: 0.5704 GB / 3.695 GB, free: 282.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.884e-06/8.06, allocations: 0 / 3.695 GB, free: 282.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.361e-05/8.06, allocations: 29.09 kB / 3.695 GB, free: 282.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002801/8.063, allocations: 1.234 MB / 3.696 GB, free: 281.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/8.063, allocations: 7.344 kB / 3.696 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/8.066, allocations: 415.2 kB / 3.697 GB, free: 281.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/8.068, allocations: 0.7852 MB / 3.698 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/8.068, allocations: 100.2 kB / 3.698 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/8.068, allocations: 41.03 kB / 3.698 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001211/8.069, allocations: 0.6654 MB / 3.698 GB, free: 280.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/8.071, allocations: 0.7812 MB / 3.699 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/8.071, allocations: 0 / 3.699 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/8.071, allocations: 0 / 3.699 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/8.071, allocations: 33.12 kB / 3.699 GB, free: 280.1 MB / 1.151 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.005216/8.076, allocations: 3.224 MB / 3.702 GB, free: 277.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/8.077, allocations: 412 kB / 3.703 GB, free: 277.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/8.077, allocations: 236.4 kB / 3.703 GB, free: 277.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/8.077, allocations: 100 kB / 3.703 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/8.077, allocations: 48.69 kB / 3.703 GB, free: 277.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.826e-06/8.077, allocations: 0 / 3.703 GB, free: 277.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.003786/8.081, allocations: 1.426 MB / 3.704 GB, free: 276.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/8.081, allocations: 55.38 kB / 3.704 GB, free: 276.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/8.082, allocations: 0.5069 MB / 3.705 GB, free: 275.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/8.082, allocations: 29.69 kB / 3.705 GB, free: 275.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/8.082, allocations: 455.6 kB / 3.705 GB, free: 275.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/8.082, allocations: 147.3 kB / 3.706 GB, free: 275.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/8.082, allocations: 3.719 kB / 3.706 GB, free: 275.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001105/8.082, allocations: 376.6 kB / 3.706 GB, free: 275 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/8.083, allocations: 203.4 kB / 3.706 GB, free: 274.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/8.083, allocations: 309.3 kB / 3.706 GB, free: 274.7 MB / 1.151 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.002504/8.085, allocations: 0.9992 MB / 3.707 GB, free: 274.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/8.085, allocations: 0 / 3.707 GB, free: 274.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00206/8.088, allocations: 0.7996 MB / 3.708 GB, free: 273.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/8.088, allocations: 3.562 kB / 3.708 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/8.088, allocations: 7.766 kB / 3.708 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/8.088, allocations: 137.4 kB / 3.708 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/8.089, allocations: 131 kB / 3.708 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/8.091, allocations: 1.75 MB / 3.71 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/8.092, allocations: 79.77 kB / 3.71 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/8.092, allocations: 20 kB / 3.71 GB, free: 271.9 MB / 1.151 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: 12 * 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.0002445/8.092, allocations: 119.4 kB / 3.71 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001838/8.094, allocations: 0.6717 MB / 3.711 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/8.094, allocations: 71.16 kB / 3.711 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/8.094, allocations: 78.66 kB / 3.711 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/8.094, allocations: 8 kB / 3.711 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/8.094, allocations: 4 kB / 3.711 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/8.096, allocations: 0.6981 MB / 3.712 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/8.1, allocations: 1.692 MB / 3.713 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/8.1, allocations: 0 / 3.713 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/8.1, allocations: 117.5 kB / 3.714 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/8.101, allocations: 136.1 kB / 3.714 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/8.101, allocations: 11.98 kB / 3.714 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/8.103, allocations: 1.733 MB / 3.715 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/8.103, allocations: 8.156 kB / 3.715 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/8.105, allocations: 1.236 MB / 3.717 GB, free: 265 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/8.105, allocations: 216.2 kB / 3.717 GB, free: 264.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/8.105, allocations: 7.953 kB / 3.717 GB, free: 264.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008643/8.106, allocations: 82.3 kB / 3.717 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/8.106, allocations: 42.77 kB / 3.717 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/8.107, allocations: 23.98 kB / 3.717 GB, free: 264.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004782/8.107, allocations: 399.1 kB / 3.717 GB, free: 264.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.107, allocations: 0 / 3.717 GB, free: 264.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001445/8.108, allocations: 367.8 kB / 3.718 GB, free: 263.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.004664/8.113, allocations: 4.079 MB / 3.722 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001056/8.114, allocations: 0.5734 MB / 3.722 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/8.114, allocations: 0 / 3.722 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/8.115, allocations: 353.4 kB / 3.723 GB, free: 259.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/8.117, allocations: 396.1 kB / 3.723 GB, free: 258.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/8.121, allocations: 1.565 MB / 3.725 GB, free: 257 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/8.122, allocations: 1.063 MB / 3.726 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008011/8.122, allocations: 176.7 kB / 3.726 GB, free: 255.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/8.123, allocations: 311.3 kB / 3.726 GB, free: 255.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/8.123, allocations: 0 / 3.726 GB, free: 255.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05866/8.181, allocations: 31.04 MB / 3.756 GB, free: 224.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/8.182, allocations: 213.2 kB / 3.757 GB, free: 224.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/11.05, allocations: 0 / 3.757 GB, free: 224.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat