Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.498/2.498, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001383/0.001383, allocations: 180 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.062/2.062, allocations: 223.1 MB / 0.7992 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 98.67 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000538/0.0005375, allocations: 10 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.351, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.946/5.297, allocations: 1.92 GB / 3.149 GB, free: 40.93 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/5.298, allocations: 95.94 kB / 3.149 GB, free: 40.84 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.765/8.062, allocations: 0.5774 GB / 3.727 GB, free: 312.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.312e-06/8.062, allocations: 0 / 3.727 GB, free: 312.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.432e-05/8.063, allocations: 28.5 kB / 3.727 GB, free: 312.9 MB / 1.167 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.003088/8.066, allocations: 1.364 MB / 3.728 GB, free: 312.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/8.066, allocations: 8.609 kB / 3.728 GB, free: 312.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/8.066, allocations: 128.2 kB / 3.728 GB, free: 312.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/8.068, allocations: 421.1 kB / 3.729 GB, free: 312.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/8.07, allocations: 0.7888 MB / 3.729 GB, free: 311.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/8.07, allocations: 125.3 kB / 3.73 GB, free: 311.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/8.071, allocations: 73.72 kB / 3.73 GB, free: 311.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/8.073, allocations: 0.9838 MB / 3.731 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/8.073, allocations: 7.859 kB / 3.731 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/8.073, allocations: 33.75 kB / 3.731 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/8.073, allocations: 24.19 kB / 3.731 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/8.075, allocations: 0.8853 MB / 3.732 GB, free: 311.8 MB / 1.167 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.005436/8.08, allocations: 3.407 MB / 3.735 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/8.081, allocations: 0.6028 MB / 3.735 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/8.082, allocations: 103.4 kB / 3.736 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/8.082, allocations: 39.73 kB / 3.736 GB, free: 310.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=39): time 2.885e-06/8.082, allocations: 3.188 kB / 3.736 GB, free: 310.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=41): time 0.007668/8.089, allocations: 2.423 MB / 3.738 GB, free: 309.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/8.089, allocations: 55.31 kB / 3.738 GB, free: 309.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009623/8.09, allocations: 0.7 MB / 3.739 GB, free: 309.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/8.09, allocations: 35.08 kB / 3.739 GB, free: 309.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/8.091, allocations: 445.9 kB / 3.739 GB, free: 309.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/8.091, allocations: 147.9 kB / 3.739 GB, free: 309.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/8.091, allocations: 9.938 kB / 3.739 GB, free: 309.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/8.091, allocations: 331.3 kB / 3.74 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/8.092, allocations: 305.2 kB / 3.74 GB, free: 309.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/8.092, allocations: 414.4 kB / 3.74 GB, free: 309 MB / 1.167 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.003386/8.096, allocations: 1.247 MB / 3.742 GB, free: 308.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/8.096, allocations: 4.312 kB / 3.742 GB, free: 308.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002893/8.099, allocations: 1.037 MB / 3.743 GB, free: 308.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/8.099, allocations: 7.438 kB / 3.743 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/8.099, allocations: 3.938 kB / 3.743 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/8.099, allocations: 173.9 kB / 3.743 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/8.1, allocations: 140.8 kB / 3.743 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/8.103, allocations: 2.081 MB / 3.745 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/8.104, allocations: 91.42 kB / 3.745 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/8.104, allocations: 22.89 kB / 3.745 GB, free: 307.5 MB / 1.167 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: 12 * 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.0005675/8.105, allocations: 271.4 kB / 3.745 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/8.105, allocations: 86.06 kB / 3.745 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/8.105, allocations: 102.6 kB / 3.745 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/8.105, allocations: 7.531 kB / 3.745 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/8.105, allocations: 3.188 kB / 3.745 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002477/8.108, allocations: 0.8896 MB / 3.746 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/8.112, allocations: 1.991 MB / 3.748 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/8.112, allocations: 3.594 kB / 3.748 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/8.113, allocations: 107.7 kB / 3.748 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/8.113, allocations: 177.7 kB / 3.749 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/8.113, allocations: 14.78 kB / 3.749 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/8.116, allocations: 2.031 MB / 3.751 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/8.116, allocations: 6.656 kB / 3.751 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/8.12, allocations: 1.547 MB / 3.752 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/8.12, allocations: 225.8 kB / 3.752 GB, free: 304.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/8.12, allocations: 17.03 kB / 3.752 GB, free: 304.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/8.121, allocations: 94.44 kB / 3.752 GB, free: 304.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/8.121, allocations: 41.64 kB / 3.752 GB, free: 304.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/8.121, allocations: 28.47 kB / 3.752 GB, free: 304.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007765/8.122, allocations: 0.5488 MB / 3.753 GB, free: 304.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.122, allocations: 0 / 3.753 GB, free: 304.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001637/8.124, allocations: 400.3 kB / 3.753 GB, free: 304.7 MB / 1.167 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 () * 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.005903/8.13, allocations: 4.23 MB / 3.758 GB, free: 302.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001846/8.132, allocations: 0.7859 MB / 3.758 GB, free: 302.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/8.132, allocations: 0 / 3.758 GB, free: 302.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/8.132, allocations: 453.5 kB / 3.759 GB, free: 302.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/8.135, allocations: 0.517 MB / 3.759 GB, free: 302.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/8.147, allocations: 7.404 MB / 3.766 GB, free: 299 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/8.147, allocations: 1.067 MB / 3.767 GB, free: 298.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001062/8.149, allocations: 197.2 kB / 3.768 GB, free: 298.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/8.149, allocations: 312 kB / 3.768 GB, free: 298.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.493e-06/8.149, allocations: 0 / 3.768 GB, free: 298.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07667/8.226, allocations: 46.4 MB / 3.813 GB, free: 275.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/8.226, allocations: 308.8 kB / 3.814 GB, free: 275.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/11.8, allocations: 0 / 3.814 GB, free: 275.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat