Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001106/0.001106, allocations: 173 kB / 492.3 MB, free: 0.6133 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.562/1.562, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009353/0.0009353, allocations: 91.88 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.299e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3072, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.195/6.503, allocations: 2.166 GB / 3.378 GB, free: 136.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.503, allocations: 96.44 kB / 3.378 GB, free: 136.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.829/8.332, allocations: 489.1 MB / 3.856 GB, free: 99.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/8.332, allocations: 4 kB / 3.856 GB, free: 99.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001732/8.332, allocations: 43.86 kB / 3.856 GB, free: 99.94 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003982/8.336, allocations: 1.52 MB / 3.858 GB, free: 98.37 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/8.336, allocations: 8.031 kB / 3.858 GB, free: 98.36 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004716/8.337, allocations: 160.1 kB / 3.858 GB, free: 98.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/8.34, allocations: 481.8 kB / 3.858 GB, free: 97.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/8.344, allocations: 1.335 MB / 3.859 GB, free: 96.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/8.344, allocations: 77.95 kB / 3.86 GB, free: 96.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/8.344, allocations: 120 kB / 3.86 GB, free: 96.15 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/8.347, allocations: 1.218 MB / 3.861 GB, free: 94.93 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/8.347, allocations: 8 kB / 3.861 GB, free: 94.92 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/8.347, allocations: 36 kB / 3.861 GB, free: 94.89 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/8.347, allocations: 34 kB / 3.861 GB, free: 94.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/8.349, allocations: 1.175 MB / 3.862 GB, free: 93.68 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.006873/8.355, allocations: 4.895 MB / 3.867 GB, free: 88.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/8.357, allocations: 0.9753 MB / 3.868 GB, free: 87.41 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/8.357, allocations: 0.5607 MB / 3.868 GB, free: 86.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/8.358, allocations: 206.9 kB / 3.869 GB, free: 86.62 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/8.358, allocations: 43.34 kB / 3.869 GB, free: 86.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 3.016e-06/8.358, allocations: 4 kB / 3.869 GB, free: 86.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.005058/8.363, allocations: 2.574 MB / 3.871 GB, free: 83.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/8.363, allocations: 60.19 kB / 3.871 GB, free: 83.86 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/8.364, allocations: 0.8516 MB / 3.872 GB, free: 82.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/8.364, allocations: 41.7 kB / 3.872 GB, free: 82.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/8.365, allocations: 0.539 MB / 3.873 GB, free: 82.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/8.365, allocations: 291.8 kB / 3.873 GB, free: 82.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/8.365, allocations: 16 kB / 3.873 GB, free: 82.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/8.365, allocations: 341.9 kB / 3.873 GB, free: 81.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/8.366, allocations: 437.3 kB / 3.874 GB, free: 81.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/8.366, allocations: 0.584 MB / 3.874 GB, free: 80.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/8.367, allocations: 0.5407 MB / 3.875 GB, free: 80.14 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/8.367, allocations: 0 / 3.875 GB, free: 80.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001709/8.369, allocations: 1.222 MB / 3.876 GB, free: 78.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/8.369, allocations: 1.054 MB / 3.877 GB, free: 77.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/8.369, allocations: 4 kB / 3.877 GB, free: 77.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/8.369, allocations: 76.81 kB / 3.877 GB, free: 77.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/8.37, allocations: 187.8 kB / 3.877 GB, free: 77.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/8.372, allocations: 2.983 MB / 3.88 GB, free: 74.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/8.374, allocations: 151.6 kB / 3.88 GB, free: 74.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/8.374, allocations: 28.09 kB / 3.88 GB, free: 74.17 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/8.374, allocations: 7.938 kB / 3.88 GB, free: 74.16 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/8.375, allocations: 1.108 MB / 3.881 GB, free: 73.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/8.375, allocations: 3.938 kB / 3.881 GB, free: 73.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/8.376, allocations: 77.16 kB / 3.881 GB, free: 72.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/8.376, allocations: 172 kB / 3.882 GB, free: 72.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/8.378, allocations: 1.807 MB / 3.883 GB, free: 70.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/8.379, allocations: 151.6 kB / 3.884 GB, free: 70.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/8.379, allocations: 32 kB / 3.884 GB, free: 70.68 MB / 1.151 GB 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002506/8.38, allocations: 150.5 kB / 3.884 GB, free: 70.53 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/8.38, allocations: 114.7 kB / 3.884 GB, free: 70.41 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/8.382, allocations: 1.187 MB / 3.885 GB, free: 69.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/8.382, allocations: 11.98 kB / 3.885 GB, free: 69.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/8.382, allocations: 0 / 3.885 GB, free: 69.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/8.383, allocations: 1.228 MB / 3.886 GB, free: 67.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/8.388, allocations: 2.799 MB / 3.889 GB, free: 65.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/8.388, allocations: 4.062 kB / 3.889 GB, free: 65.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/8.389, allocations: 235.6 kB / 3.889 GB, free: 64.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/8.389, allocations: 69 kB / 3.889 GB, free: 64.71 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/8.389, allocations: 27.98 kB / 3.889 GB, free: 64.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/8.39, allocations: 2.979 MB / 3.892 GB, free: 61.52 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/8.391, allocations: 11.88 kB / 3.892 GB, free: 61.51 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/8.393, allocations: 1.92 MB / 3.894 GB, free: 59.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/8.394, allocations: 323.7 kB / 3.894 GB, free: 59.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/8.394, allocations: 23.98 kB / 3.894 GB, free: 59.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/8.395, allocations: 111.7 kB / 3.894 GB, free: 59.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/8.395, allocations: 60.61 kB / 3.895 GB, free: 58.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/8.395, allocations: 31.98 kB / 3.895 GB, free: 58.94 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009845/8.396, allocations: 0.6844 MB / 3.895 GB, free: 58.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/8.396, allocations: 4 kB / 3.895 GB, free: 58.24 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002965/8.399, allocations: 0.7851 MB / 3.896 GB, free: 57.45 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004647/8.404, allocations: 4.26 MB / 3.9 GB, free: 53.07 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002871/8.407, allocations: 1.886 MB / 3.902 GB, free: 51.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/8.407, allocations: 8 kB / 3.902 GB, free: 51.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/8.408, allocations: 0.6484 MB / 3.903 GB, free: 50.49 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/8.412, allocations: 0.7998 MB / 3.903 GB, free: 49.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/8.418, allocations: 3.05 MB / 3.906 GB, free: 46.58 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/8.419, allocations: 1.45 MB / 3.908 GB, free: 45.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002938/8.422, allocations: 1.024 MB / 3.909 GB, free: 44.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/8.422, allocations: 439.3 kB / 3.909 GB, free: 43.64 MB / 1.151 GB Notification: Performance of SimCode: time 1.704e-06/8.422, allocations: 0 / 3.909 GB, free: 43.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8131/9.236, allocations: 63.31 MB / 3.971 GB, free: 281.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/9.236, allocations: 249.6 kB / 3.971 GB, free: 281.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.954/13.19, allocations: 3.594 kB / 3.971 GB, free: 281.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat does not exist to compare? outputFormat=mat