Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.15/2.15, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001054/0.001054, allocations: 191.9 kB / 492.3 MB, free: 0.6094 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.508/1.508, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009665/0.0009666, allocations: 90.56 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.563e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.344, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.342/1.686, allocations: 412.6 MB / 1.615 GB, free: 1.645 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.686, allocations: 93.28 kB / 1.616 GB, free: 1.594 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.387/3.074, allocations: 248.6 MB / 1.858 GB, free: 351.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.064e-06/3.074, allocations: 0 / 1.858 GB, free: 351.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002002/3.074, allocations: 39.92 kB / 1.858 GB, free: 351.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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003344/3.077, allocations: 1.204 MB / 1.86 GB, free: 350.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.697e-05/3.077, allocations: 12.03 kB / 1.86 GB, free: 350.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003594/3.078, allocations: 122.5 kB / 1.86 GB, free: 350.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/3.078, allocations: 138.5 kB / 1.86 GB, free: 350 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/3.096, allocations: 7.783 MB / 1.867 GB, free: 342.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/3.096, allocations: 54 kB / 1.867 GB, free: 342 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/3.096, allocations: 76 kB / 1.868 GB, free: 342 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/3.098, allocations: 0.9669 MB / 1.868 GB, free: 340.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/3.098, allocations: 0 / 1.868 GB, free: 340.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/3.098, allocations: 28 kB / 1.869 GB, free: 340.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/3.098, allocations: 27.98 kB / 1.869 GB, free: 340.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/3.1, allocations: 0.6831 MB / 1.869 GB, free: 340.2 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.005869/3.106, allocations: 4.55 MB / 1.874 GB, free: 335.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/3.106, allocations: 389.4 kB / 1.874 GB, free: 334.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/3.106, allocations: 254 kB / 1.874 GB, free: 334.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/3.107, allocations: 437.8 kB / 1.875 GB, free: 334.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/3.107, allocations: 38.89 kB / 1.875 GB, free: 334.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/3.107, allocations: 0 / 1.875 GB, free: 334.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001218/3.108, allocations: 0.5418 MB / 1.875 GB, free: 333.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/3.108, allocations: 67.28 kB / 1.875 GB, free: 333.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/3.109, allocations: 0.8366 MB / 1.876 GB, free: 332.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/3.109, allocations: 33.7 kB / 1.876 GB, free: 332.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/3.11, allocations: 0.5107 MB / 1.877 GB, free: 332.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/3.11, allocations: 149.9 kB / 1.877 GB, free: 331.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/3.11, allocations: 8 kB / 1.877 GB, free: 331.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/3.11, allocations: 330 kB / 1.877 GB, free: 331.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/3.11, allocations: 213 kB / 1.877 GB, free: 331.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/3.111, allocations: 440.9 kB / 1.878 GB, free: 330.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/3.111, allocations: 305.4 kB / 1.878 GB, free: 330.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/3.111, allocations: 4 kB / 1.878 GB, free: 330.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00122/3.112, allocations: 0.7754 MB / 1.879 GB, free: 329.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006282/3.113, allocations: 2.182 MB / 1.881 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/3.113, allocations: 15.94 kB / 1.881 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000303/3.113, allocations: 60.83 kB / 1.881 GB, free: 327.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/3.114, allocations: 107.8 kB / 1.881 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/3.114, allocations: 0.6342 MB / 1.882 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/3.115, allocations: 107.4 kB / 1.882 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/3.115, allocations: 28 kB / 1.882 GB, free: 326.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/3.115, allocations: 7.938 kB / 1.882 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009197/3.116, allocations: 0.6634 MB / 1.883 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/3.116, allocations: 4.75 kB / 1.883 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/3.116, allocations: 64.81 kB / 1.883 GB, free: 325.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/3.117, allocations: 111.8 kB / 1.883 GB, free: 325.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/3.118, allocations: 1.662 MB / 1.884 GB, free: 323.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/3.119, allocations: 99.52 kB / 1.884 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/3.119, allocations: 24 kB / 1.884 GB, free: 323.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001981/3.119, allocations: 144.8 kB / 1.885 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/3.12, allocations: 98.86 kB / 1.885 GB, free: 323.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/3.121, allocations: 0.6407 MB / 1.885 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/3.121, allocations: 4 kB / 1.885 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/3.121, allocations: 3.938 kB / 1.885 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007111/3.121, allocations: 0.8088 MB / 1.886 GB, free: 321.9 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 postOpt removeSimpleEquations (simulation): time 0.002722/3.124, allocations: 1.664 MB / 1.888 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/3.124, allocations: 0 / 1.888 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/3.125, allocations: 92 kB / 1.888 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/3.125, allocations: 32.84 kB / 1.888 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/3.125, allocations: 12 kB / 1.888 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002886/3.125, allocations: 0.5717 MB / 1.888 GB, free: 319.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/3.125, allocations: 0 / 1.888 GB, free: 319.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/3.126, allocations: 0.9833 MB / 1.889 GB, free: 318.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/3.127, allocations: 271.8 kB / 1.89 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/3.127, allocations: 8 kB / 1.89 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/3.128, allocations: 67.78 kB / 1.89 GB, free: 318 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/3.128, allocations: 27.95 kB / 1.89 GB, free: 318 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/3.128, allocations: 27.98 kB / 1.89 GB, free: 317.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008754/3.129, allocations: 0.6591 MB / 1.89 GB, free: 317.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/3.129, allocations: 0 / 1.89 GB, free: 317.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002309/3.131, allocations: 0.6002 MB / 1.891 GB, free: 316.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002289/3.133, allocations: 2.093 MB / 1.893 GB, free: 314.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001588/3.135, allocations: 0.9974 MB / 1.894 GB, free: 313.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/3.135, allocations: 3.938 kB / 1.894 GB, free: 313.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/3.135, allocations: 233 kB / 1.894 GB, free: 313.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/3.138, allocations: 0.5557 MB / 1.895 GB, free: 312.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/3.142, allocations: 1.985 MB / 1.897 GB, free: 310.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/3.143, allocations: 1.249 MB / 1.898 GB, free: 309.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001795/3.144, allocations: 0.6782 MB / 1.899 GB, free: 308.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/3.145, allocations: 351.3 kB / 1.899 GB, free: 308.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.212e-06/3.145, allocations: 3.938 kB / 1.899 GB, free: 308.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06473/3.209, allocations: 31.94 MB / 1.93 GB, free: 276.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/3.21, allocations: 248.3 kB / 1.93 GB, free: 276.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/6.397, allocations: 5.562 kB / 1.93 GB, free: 276.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat does not exist to compare? outputFormat=mat