Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.001177/0.001177, allocations: 99.23 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.001411/0.001411, allocations: 177.3 kB / 15.94 MB, free: 228 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.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7453, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.02946/0.7748, allocations: 26.61 MB / 0.9796 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.7862, allocations: 5.808 MB / 0.9852 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.7876, allocations: 33 kB / 0.9853 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.7887, allocations: 345.3 kB / 0.9856 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.7962, allocations: 2.691 MB / 0.9882 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.7998, allocations: 1.122 MB / 0.9893 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.8025, allocations: 1.287 MB / 0.9906 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.8032, allocations: 485.3 kB / 0.9911 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.8068, allocations: 2 MB / 0.993 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.8076, allocations: 354.3 kB / 0.9933 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.8077, allocations: 24 kB / 0.9934 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/0.8131, allocations: 2.676 MB / 0.996 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.8133, allocations: 123.5 kB / 0.9961 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.8136, allocations: 165.3 kB / 0.9963 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.8158, allocations: 1.115 MB / 0.9973 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.8158, allocations: 0 / 0.9973 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8159, allocations: 0 / 0.9973 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8159, allocations: 0 / 0.9973 GB, free: 3.234 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001564/0.8174, allocations: 1.001 MB / 0.9983 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8175, allocations: 12.03 kB / 0.9983 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.769e-05/0.8176, allocations: 86.52 kB / 0.9984 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.8188, allocations: 155 kB / 0.9986 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.8198, allocations: 0.6117 MB / 0.9992 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.8199, allocations: 41 kB / 0.9992 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.82, allocations: 44 kB / 0.9992 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.8208, allocations: 0.5155 MB / 0.9997 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8208, allocations: 0 / 0.9997 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.8208, allocations: 24 kB / 0.9998 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.8209, allocations: 12 kB / 0.9998 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.8214, allocations: 335.7 kB / 1 GB, free: 280 kB / 0.7481 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.002654/0.824, allocations: 2.475 MB / 1.003 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.8245, allocations: 266.5 kB / 1.003 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.8256, allocations: 1.37 MB / 1.004 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.8256, allocations: 38.56 kB / 1.004 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.8256, allocations: 4 kB / 1.004 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.004244/0.8299, allocations: 1.784 MB / 1.006 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.8299, allocations: 55.41 kB / 1.006 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.8306, allocations: 0.503 MB / 1.006 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.8306, allocations: 33.7 kB / 1.006 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.8309, allocations: 324.4 kB / 1.007 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.831, allocations: 149.8 kB / 1.007 GB, free: 8.648 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.8311, allocations: 15.94 kB / 1.007 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8312, allocations: 374.7 kB / 1.007 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.8315, allocations: 149 kB / 1.007 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.8318, allocations: 270.6 kB / 1.008 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.832, allocations: 185.8 kB / 1.008 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.832, allocations: 0 / 1.008 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001051/0.8331, allocations: 0.5998 MB / 1.008 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005108/0.8336, allocations: 1.145 MB / 1.01 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8336, allocations: 4 kB / 1.01 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.8344, allocations: 189.6 kB / 1.01 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.8346, allocations: 75.84 kB / 1.01 GB, free: 5.508 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.8357, allocations: 1.335 MB / 1.011 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.8362, allocations: 31.89 kB / 1.011 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.8362, allocations: 23.98 kB / 1.011 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.8362, allocations: 4 kB / 1.011 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009361/0.8372, allocations: 0.5324 MB / 1.012 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.8372, allocations: 3.984 kB / 1.012 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.8379, allocations: 193.9 kB / 1.012 GB, free: 3.324 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.8381, allocations: 71.84 kB / 1.012 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.8392, allocations: 1.339 MB / 1.013 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.8396, allocations: 39.95 kB / 1.013 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.8397, allocations: 23.98 kB / 1.013 GB, free: 1.801 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.84, allocations: 293.7 kB / 1.014 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.8401, allocations: 67.25 kB / 1.014 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.8413, allocations: 0.6262 MB / 1.014 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.8414, allocations: 4 kB / 1.014 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8414, allocations: 0 / 1.014 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000862/0.8422, allocations: 0.6509 MB / 1.015 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.8445, allocations: 1.465 MB / 1.016 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.8445, allocations: 0 / 1.016 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.8448, allocations: 51.91 kB / 1.016 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009596/0.8457, allocations: 217.5 kB / 1.017 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.8458, allocations: 11.98 kB / 1.017 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.8469, allocations: 1.323 MB / 1.018 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8469, allocations: 8.156 kB / 1.018 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.8485, allocations: 0.88 MB / 1.019 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.8489, allocations: 208.4 kB / 1.019 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.849, allocations: 12 kB / 1.019 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.8494, allocations: 28.02 kB / 1.019 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.8495, allocations: 31.91 kB / 1.019 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.8495, allocations: 27.92 kB / 1.019 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005125/0.8501, allocations: 358.8 kB / 1.019 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8501, allocations: 0 / 1.019 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001572/0.8516, allocations: 463.8 kB / 1.02 GB, free: 10.87 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002736/0.8544, allocations: 1.839 MB / 1.022 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.8556, allocations: 0.6454 MB / 1.022 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8556, allocations: 8 kB / 1.022 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.8561, allocations: 239.8 kB / 1.023 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.8577, allocations: 308.2 kB / 1.023 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/0.8642, allocations: 5.508 MB / 1.028 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.8648, allocations: 0.9339 MB / 1.029 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000685/0.8655, allocations: 206.9 kB / 1.029 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.8658, allocations: 243.3 kB / 1.03 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of SimCode: time 7.12e-07/0.8658, allocations: 0 / 1.03 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/0.9079, allocations: 22.57 MB / 1.052 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.9083, allocations: 256.7 kB / 1.052 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.238, allocations: 0 / 1.052 GB, free: 10.27 MB / 0.8106 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat does not exist to compare? outputFormat=mat