Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_9_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.0007095/0.0007095, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.003956/0.003956, allocations: 172.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.9 MB / 0.6664 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 11.98 kB / 0.8161 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5586, allocations: 142.4 MB / 0.9552 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02086/0.5795, allocations: 25.48 MB / 0.9801 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009298/0.5888, allocations: 7.079 MB / 0.987 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.5896, allocations: 32.84 kB / 0.987 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.5904, allocations: 323.1 kB / 0.9873 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.5926, allocations: 1.033 MB / 0.9883 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.5945, allocations: 0.856 MB / 0.9892 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002731/0.5973, allocations: 2.805 MB / 0.9919 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005888/0.5979, allocations: 0.5043 MB / 0.9924 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.5986, allocations: 0.5948 MB / 0.993 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.5992, allocations: 0.5326 MB / 0.9935 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.5993, allocations: 23.94 kB / 0.9935 GB, free: 8 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.6005, allocations: 0.7796 MB / 0.9943 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.6007, allocations: 135.4 kB / 0.9944 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.601, allocations: 367.8 kB / 0.9947 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.6021, allocations: 1.16 MB / 0.9959 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6021, allocations: 0 / 0.9959 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6021, allocations: 0 / 0.9959 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.6021, allocations: 0 / 0.9959 GB, free: 5.555 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001118/0.6033, allocations: 0.9151 MB / 0.9968 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6033, allocations: 8.031 kB / 0.9968 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.282e-05/0.6034, allocations: 86.7 kB / 0.9969 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.6036, allocations: 87.94 kB / 0.9969 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.6046, allocations: 0.7292 MB / 0.9977 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.6047, allocations: 37 kB / 0.9977 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.6047, allocations: 43.98 kB / 0.9977 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.6055, allocations: 0.4962 MB / 0.9982 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6055, allocations: 4 kB / 0.9982 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.6055, allocations: 20 kB / 0.9982 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.6056, allocations: 23.97 kB / 0.9983 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.6061, allocations: 315.7 kB / 0.9986 GB, free: 2.668 MB / 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.002429/0.6085, allocations: 2.752 MB / 1.001 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.6088, allocations: 194.5 kB / 1.001 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.6089, allocations: 100.8 kB / 1.002 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.6092, allocations: 348.7 kB / 1.002 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.6093, allocations: 34.5 kB / 1.002 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.6093, allocations: 0 / 1.002 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.0004882/0.6098, allocations: 306.8 kB / 1.002 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.6098, allocations: 55.41 kB / 1.002 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.6103, allocations: 0.5108 MB / 1.003 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.6104, allocations: 29.7 kB / 1.003 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6106, allocations: 347.4 kB / 1.003 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.6107, allocations: 82.92 kB / 1.003 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.6107, allocations: 37.64 kB / 1.003 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6109, allocations: 366.8 kB / 1.004 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.611, allocations: 91.91 kB / 1.004 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.6113, allocations: 233.9 kB / 1.004 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.6116, allocations: 341.9 kB / 1.004 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6117, allocations: 4 kB / 1.004 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005293/0.6122, allocations: 390.9 kB / 1.005 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.6123, allocations: 216.4 kB / 1.005 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6123, allocations: 7.984 kB / 1.005 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6123, allocations: 11.98 kB / 1.005 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.6126, allocations: 79.84 kB / 1.005 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6126, allocations: 11.94 kB / 1.005 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.613, allocations: 59.56 kB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.613, allocations: 16 kB / 1.005 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.613, allocations: 4 kB / 1.005 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004044/0.6134, allocations: 312.3 kB / 1.005 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.6135, allocations: 4 kB / 1.005 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.6135, allocations: 4 kB / 1.005 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.6137, allocations: 79.84 kB / 1.005 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6137, allocations: 11.98 kB / 1.005 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.614, allocations: 48.02 kB / 1.005 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.614, allocations: 20 kB / 1.005 GB, free: 11.06 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.6143, allocations: 285.9 kB / 1.006 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.6143, allocations: 55.34 kB / 1.006 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.6148, allocations: 274.7 kB / 1.006 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6148, allocations: 8.016 kB / 1.006 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6148, allocations: 4 kB / 1.006 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000326/0.6151, allocations: 383.6 kB / 1.006 GB, free: 10 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.6164, allocations: 1.045 MB / 1.007 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6164, allocations: 4 kB / 1.007 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.6166, allocations: 47.92 kB / 1.007 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6166, allocations: 4 kB / 1.007 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.6167, allocations: 15.92 kB / 1.007 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6167, allocations: 7.938 kB / 1.007 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6167, allocations: 4.281 kB / 1.007 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.6172, allocations: 0.5236 MB / 1.008 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.6174, allocations: 192.1 kB / 1.008 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.6175, allocations: 8 kB / 1.008 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.6179, allocations: 35.97 kB / 1.008 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.6179, allocations: 11.98 kB / 1.008 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.6179, allocations: 19.98 kB / 1.008 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003914/0.6183, allocations: 399.1 kB / 1.009 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6183, allocations: 0 / 1.009 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000841/0.6192, allocations: 351.2 kB / 1.009 GB, free: 7.191 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.6204, allocations: 1.249 MB / 1.01 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.621, allocations: 411.5 kB / 1.011 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.621, allocations: 0 / 1.011 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.6212, allocations: 105.4 kB / 1.011 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.6231, allocations: 383.4 kB / 1.011 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.6283, allocations: 4.718 MB / 1.016 GB, free: 76 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.6287, allocations: 0.8983 MB / 1.017 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005136/0.6292, allocations: 161 kB / 1.017 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.6295, allocations: 219.3 kB / 1.017 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6295, allocations: 4 kB / 1.017 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.471/2.1, allocations: 16.93 MB / 1.033 GB, free: 14.17 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/2.1, allocations: 259.4 kB / 1.034 GB, free: 13.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/4.255, allocations: 0 / 1.034 GB, free: 13.91 MB / 0.795 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)