Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.001188/0.001187, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001744/0.001744, allocations: 168.7 kB / 15.95 MB, free: 204 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.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.525/2.525, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 11.94 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.776, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02381/0.7998, allocations: 24.13 MB / 1.005 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.8103, allocations: 6.683 MB / 1.011 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.8115, allocations: 27.81 kB / 1.011 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.8124, allocations: 290.2 kB / 1.012 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.8151, allocations: 0.89 MB / 1.012 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.8173, allocations: 0.7384 MB / 1.013 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.82, allocations: 2.381 MB / 1.015 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/0.8207, allocations: 467.5 kB / 1.016 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008989/0.8216, allocations: 0.5834 MB / 1.016 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.8222, allocations: 0.5016 MB / 1.017 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.8223, allocations: 20 kB / 1.017 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.8237, allocations: 0.6198 MB / 1.018 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.8238, allocations: 127.4 kB / 1.018 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.824, allocations: 157.4 kB / 1.018 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0009843/0.825, allocations: 0.8611 MB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.825, allocations: 0 / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.825, allocations: 0 / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.825, allocations: 0 / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001263/0.8263, allocations: 0.9305 MB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.8263, allocations: 12.03 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.8264, allocations: 82.53 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.8267, allocations: 87.05 kB / 1.02 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.8278, allocations: 0.7052 MB / 1.02 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.8278, allocations: 29 kB / 1.02 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.8279, allocations: 52 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.8287, allocations: 0.5 MB / 1.021 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.8287, allocations: 0 / 1.021 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.8287, allocations: 20 kB / 1.021 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.8288, allocations: 19.94 kB / 1.021 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.8293, allocations: 315.7 kB / 1.021 GB, free: 12.8 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.002647/0.832, allocations: 2.748 MB / 1.024 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.8323, allocations: 191 kB / 1.024 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.8324, allocations: 97.19 kB / 1.024 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/0.8327, allocations: 344.6 kB / 1.025 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.8328, allocations: 38.75 kB / 1.025 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.8328, allocations: 3.938 kB / 1.025 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005568/0.8334, allocations: 303.2 kB / 1.025 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.8334, allocations: 51.41 kB / 1.025 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.834, allocations: 0.5069 MB / 1.026 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.834, allocations: 29.7 kB / 1.026 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.8343, allocations: 355.3 kB / 1.026 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.8343, allocations: 82.91 kB / 1.026 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.8344, allocations: 8 kB / 1.026 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8345, allocations: 366.7 kB / 1.026 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.8346, allocations: 87.91 kB / 1.026 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.8349, allocations: 229.9 kB / 1.027 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.8351, allocations: 133.4 kB / 1.027 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8351, allocations: 0 / 1.027 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005347/0.8356, allocations: 382.9 kB / 1.027 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.8357, allocations: 218.1 kB / 1.027 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8358, allocations: 7.984 kB / 1.027 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8358, allocations: 8 kB / 1.027 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.8361, allocations: 71.91 kB / 1.027 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8361, allocations: 11.94 kB / 1.027 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.8364, allocations: 59.56 kB / 1.027 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.8365, allocations: 24 kB / 1.028 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.8365, allocations: 11.89 kB / 1.028 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004183/0.8369, allocations: 308.1 kB / 1.028 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8369, allocations: 7.938 kB / 1.028 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.837, allocations: 8 kB / 1.028 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.8372, allocations: 71.91 kB / 1.028 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.8372, allocations: 11.92 kB / 1.028 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.8375, allocations: 48.23 kB / 1.028 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.8376, allocations: 16 kB / 1.028 GB, free: 5.52 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.8378, allocations: 277 kB / 1.028 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.8379, allocations: 63.2 kB / 1.028 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.8383, allocations: 280 kB / 1.029 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.8384, allocations: 7.984 kB / 1.029 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8384, allocations: 0 / 1.029 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003244/0.8387, allocations: 374 kB / 1.029 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.84, allocations: 1.053 MB / 1.03 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.84, allocations: 0 / 1.03 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.8403, allocations: 51.92 kB / 1.03 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.8403, allocations: 7.984 kB / 1.03 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.8403, allocations: 8 kB / 1.03 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.8403, allocations: 4.281 kB / 1.03 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8403, allocations: 7.938 kB / 1.03 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.8409, allocations: 0.519 MB / 1.031 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.8411, allocations: 184.2 kB / 1.031 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.8412, allocations: 11.94 kB / 1.031 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.8415, allocations: 35.97 kB / 1.031 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.8416, allocations: 19.94 kB / 1.031 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.8416, allocations: 15.98 kB / 1.031 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004204/0.842, allocations: 399.1 kB / 1.031 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8421, allocations: 0 / 1.031 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009527/0.843, allocations: 339.3 kB / 1.031 GB, free: 1.68 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/0.8443, allocations: 1.239 MB / 1.033 GB, free: 404 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006179/0.8449, allocations: 404 kB / 1.033 GB, free: 4 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8449, allocations: 0 / 1.033 GB, free: 4 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.8451, allocations: 105.7 kB / 1.033 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.8468, allocations: 384.2 kB / 1.034 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.8513, allocations: 3.283 MB / 1.037 GB, free: 12.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.8518, allocations: 0.8983 MB / 1.038 GB, free: 11.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006284/0.8524, allocations: 157.1 kB / 1.038 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.8527, allocations: 211.4 kB / 1.038 GB, free: 10.84 MB / 0.795 GB Notification: Performance of SimCode: time 8.52e-07/0.8527, allocations: 0 / 1.038 GB, free: 10.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.8855, allocations: 17.64 MB / 1.055 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.8857, allocations: 254 kB / 1.055 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/3.108, allocations: 0 / 1.055 GB, free: 9.277 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat does not exist to compare? outputFormat=mat