Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001159/0.001159, allocations: 86.95 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.001357/0.001358, 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.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.613/2.613, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 19.92 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8534, allocations: 146.8 MB / 0.9811 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2448/1.098, allocations: 221.3 MB / 1.197 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02209/1.12, allocations: 14.92 MB / 1.212 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/1.124, allocations: 71.5 kB / 1.212 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/1.128, allocations: 0.7958 MB / 1.213 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009446/1.138, allocations: 2.833 MB / 1.215 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004641/1.142, allocations: 1.362 MB / 1.217 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00832/1.151, allocations: 6.243 MB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00278/1.154, allocations: 1.276 MB / 1.224 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/1.159, allocations: 2.163 MB / 1.226 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/1.163, allocations: 1.654 MB / 1.228 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000604/1.163, allocations: 84 kB / 1.228 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/1.168, allocations: 1.501 MB / 1.229 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/1.169, allocations: 0.6815 MB / 1.23 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/1.171, allocations: 436.6 kB / 1.231 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/1.175, allocations: 2.439 MB / 1.233 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.175, allocations: 3.938 kB / 1.233 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/1.175, allocations: 0 / 1.233 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001249/1.175, allocations: 0 / 1.233 GB, free: 3.809 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004915/1.18, allocations: 2.134 MB / 1.235 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/1.18, allocations: 16.02 kB / 1.235 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005756/1.181, allocations: 215.1 kB / 1.235 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/1.184, allocations: 0.5048 MB / 1.236 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/1.187, allocations: 1.223 MB / 1.237 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/1.188, allocations: 174.2 kB / 1.237 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/1.188, allocations: 155.9 kB / 1.237 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/1.192, allocations: 1.733 MB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/1.192, allocations: 4 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/1.192, allocations: 64 kB / 1.239 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/1.192, allocations: 62.62 kB / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/1.195, allocations: 1.385 MB / 1.24 GB, free: 11.93 MB / 0.9981 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.0109/1.206, allocations: 8.21 MB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.207, allocations: 0.9233 MB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009054/1.208, allocations: 0.5341 MB / 1.25 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/1.209, allocations: 340.4 kB / 1.25 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.209, allocations: 51.5 kB / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/1.209, allocations: 0 / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.764/1.973, allocations: 3.153 MB / 1.253 GB, free: 267.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.973, allocations: 68.36 kB / 1.253 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/1.975, allocations: 1.248 MB / 1.255 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.975, allocations: 48.67 kB / 1.255 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/1.976, allocations: 0.8105 MB / 1.255 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000378/1.977, allocations: 364.2 kB / 1.256 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/1.977, allocations: 25.38 kB / 1.256 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.977, allocations: 352.6 kB / 1.256 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.978, allocations: 442 kB / 1.257 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.979, allocations: 0.8181 MB / 1.257 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.98, allocations: 0.556 MB / 1.258 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.98, allocations: 3.375 kB / 1.258 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002961/1.983, allocations: 1.406 MB / 1.259 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002547/1.983, allocations: 371.3 kB / 1.26 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.983, allocations: 11.98 kB / 1.26 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-05/1.984, allocations: 17.62 kB / 1.26 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.985, allocations: 279.3 kB / 1.26 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-05/1.985, allocations: 21.64 kB / 1.26 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/1.987, allocations: 180.6 kB / 1.26 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.987, allocations: 50.02 kB / 1.26 GB, free: 264 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.987, allocations: 4 kB / 1.26 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002577/1.989, allocations: 1.232 MB / 1.261 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.989, allocations: 9.375 kB / 1.261 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.99, allocations: 19.56 kB / 1.261 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.991, allocations: 277.4 kB / 1.262 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/1.991, allocations: 20.72 kB / 1.262 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.993, allocations: 182 kB / 1.262 GB, free: 263.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.993, allocations: 48.91 kB / 1.262 GB, free: 263.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.001213/1.994, allocations: 0.5098 MB / 1.262 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/1.994, allocations: 167.2 kB / 1.263 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/1.998, allocations: 1.171 MB / 1.264 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/1.998, allocations: 11.8 kB / 1.264 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.998, allocations: 0 / 1.264 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/2, allocations: 1.091 MB / 1.265 GB, free: 262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/2.006, allocations: 2.81 MB / 1.267 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/2.006, allocations: 3.969 kB / 1.267 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/2.007, allocations: 248.8 kB / 1.268 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/2.007, allocations: 3.906 kB / 1.268 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/2.007, allocations: 27.91 kB / 1.268 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/2.007, allocations: 14.02 kB / 1.268 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.007, allocations: 6.5 kB / 1.268 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/2.01, allocations: 1.791 MB / 1.27 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007136/2.01, allocations: 338 kB / 1.27 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/2.01, allocations: 23.7 kB / 1.27 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/2.012, allocations: 140.3 kB / 1.27 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/2.012, allocations: 69.27 kB / 1.27 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/2.012, allocations: 39.42 kB / 1.27 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001069/2.013, allocations: 0.8315 MB / 1.271 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.013, allocations: 0 / 1.271 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002477/2.015, allocations: 0.7705 MB / 1.272 GB, free: 259.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.003346/2.019, allocations: 2.515 MB / 1.274 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003002/2.022, allocations: 1.743 MB / 1.276 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/2.022, allocations: 0 / 1.276 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/2.023, allocations: 0.5259 MB / 1.276 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/2.026, allocations: 0.9745 MB / 1.277 GB, free: 255.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/2.04, allocations: 10.37 MB / 1.287 GB, free: 244.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/2.041, allocations: 1.445 MB / 1.289 GB, free: 242.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002199/2.043, allocations: 0.5524 MB / 1.289 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/2.044, allocations: 0.6897 MB / 1.29 GB, free: 241.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/2.044, allocations: 0 / 1.29 GB, free: 241.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/2.117, allocations: 44.46 MB / 1.333 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/2.118, allocations: 239.8 kB / 1.334 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/5.185, allocations: 0 / 1.334 GB, free: 197.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat