Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.443/2.443, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8066, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01885/0.8255, allocations: 19.62 MB / 1 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008206/0.8337, allocations: 5.868 MB / 1.006 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.8347, allocations: 23.81 kB / 1.006 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.8356, allocations: 330.4 kB / 1.006 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.8383, allocations: 0.9413 MB / 1.007 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.8408, allocations: 0.9273 MB / 1.008 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.8433, allocations: 1.953 MB / 1.01 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.8445, allocations: 0.9015 MB / 1.011 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.8458, allocations: 0.8019 MB / 1.011 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.8464, allocations: 0.5598 MB / 1.012 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.8465, allocations: 40 kB / 1.012 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.8476, allocations: 471.3 kB / 1.013 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.8478, allocations: 199.2 kB / 1.013 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.8481, allocations: 249.1 kB / 1.013 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.8493, allocations: 1.372 MB / 1.014 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.8493, allocations: 4 kB / 1.014 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8493, allocations: 0 / 1.014 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.8493, allocations: 0 / 1.014 GB, free: 3.992 MB / 0.7637 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.001739/0.851, allocations: 1.304 MB / 1.016 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8511, allocations: 12.03 kB / 1.016 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.8512, allocations: 118.5 kB / 1.016 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.8516, allocations: 138.5 kB / 1.016 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.8533, allocations: 1.072 MB / 1.017 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.8534, allocations: 65.94 kB / 1.017 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.8535, allocations: 83.97 kB / 1.017 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.8548, allocations: 1.029 MB / 1.018 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.8548, allocations: 3.938 kB / 1.018 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.8549, allocations: 28.08 kB / 1.018 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.855, allocations: 24 kB / 1.018 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.856, allocations: 0.757 MB / 1.019 GB, free: 15.21 MB / 0.7794 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.004401/0.8604, allocations: 4.658 MB / 1.023 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.8609, allocations: 396 kB / 1.024 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.8612, allocations: 429.8 kB / 1.024 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8613, allocations: 42.88 kB / 1.024 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.8613, allocations: 0 / 1.024 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.001582/0.8629, allocations: 0.8521 MB / 1.025 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.8629, allocations: 55.41 kB / 1.025 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.864, allocations: 0.9895 MB / 1.026 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.864, allocations: 37.7 kB / 1.026 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.8644, allocations: 0.5106 MB / 1.027 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.8645, allocations: 145.9 kB / 1.027 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.8645, allocations: 8 kB / 1.027 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8646, allocations: 333.9 kB / 1.027 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.8649, allocations: 228.9 kB / 1.027 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.8653, allocations: 426.7 kB / 1.028 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.8657, allocations: 309.6 kB / 1.028 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8657, allocations: 4 kB / 1.028 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001163/0.8669, allocations: 0.8058 MB / 1.029 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000717/0.8676, allocations: 2.185 MB / 1.031 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.8676, allocations: 11.98 kB / 1.031 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.868, allocations: 84.78 kB / 1.031 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.8684, allocations: 115.8 kB / 1.031 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004286/0.8688, allocations: 0.6226 MB / 1.032 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/0.8695, allocations: 111.3 kB / 1.032 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.8696, allocations: 31.98 kB / 1.032 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.8696, allocations: 9.672 kB / 1.032 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009063/0.8705, allocations: 0.6796 MB / 1.033 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8705, allocations: 8 kB / 1.033 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.8707, allocations: 60.81 kB / 1.033 GB, free: 292 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.871, allocations: 111.8 kB / 1.033 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.8724, allocations: 1.736 MB / 1.034 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.873, allocations: 95.52 kB / 1.034 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.8731, allocations: 32 kB / 1.034 GB, free: 14.17 MB / 0.795 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 () * Number of clocked 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.0005367/0.8736, allocations: 486 kB / 1.035 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.8738, allocations: 94.83 kB / 1.035 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/0.8747, allocations: 0.6364 MB / 1.036 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.8747, allocations: 8 kB / 1.036 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8747, allocations: 3.953 kB / 1.036 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007572/0.8755, allocations: 0.8127 MB / 1.036 GB, free: 12.04 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.002197/0.8777, allocations: 1.707 MB / 1.038 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8777, allocations: 3.953 kB / 1.038 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.878, allocations: 87.88 kB / 1.038 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.8781, allocations: 40.81 kB / 1.038 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.8782, allocations: 16 kB / 1.038 GB, free: 10.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003048/0.8785, allocations: 0.5681 MB / 1.039 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8785, allocations: 0 / 1.039 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.8796, allocations: 0.9907 MB / 1.04 GB, free: 8.457 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.88, allocations: 287.7 kB / 1.04 GB, free: 8.156 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.8801, allocations: 8 kB / 1.04 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.8807, allocations: 80.75 kB / 1.04 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.8807, allocations: 23.97 kB / 1.04 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.8808, allocations: 27.97 kB / 1.04 GB, free: 8.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007544/0.8815, allocations: 0.7019 MB / 1.041 GB, free: 7.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8815, allocations: 0 / 1.041 GB, free: 7.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001407/0.8829, allocations: 0.569 MB / 1.041 GB, free: 6.75 MB / 0.795 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 () * Number of clocked 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.001837/0.8848, allocations: 1.978 MB / 1.043 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.8862, allocations: 0.996 MB / 1.044 GB, free: 3.719 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8862, allocations: 3.938 kB / 1.044 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.8865, allocations: 239.8 kB / 1.045 GB, free: 3.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.8889, allocations: 0.5528 MB / 1.045 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.8991, allocations: 9.886 MB / 1.055 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.9, allocations: 1.251 MB / 1.056 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001376/0.9014, allocations: 459.2 kB / 1.056 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.9019, allocations: 363.3 kB / 1.057 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of SimCode: time 1.323e-06/0.9019, allocations: 4 kB / 1.057 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.223/3.124, allocations: 29.06 MB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/3.125, allocations: 286.6 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/5.861, allocations: 7.688 kB / 1.085 GB, free: 9.785 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat does not exist to compare? outputFormat=mat