Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001329/0.001329, allocations: 100 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.001533/0.001533, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005491, allocations: 20.94 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2923, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.689/0.9813, allocations: 142.9 MB / 0.9267 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005361/0.9867, allocations: 3.272 MB / 0.9299 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.9874, allocations: 16.72 kB / 0.93 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009617/0.9883, allocations: 320.6 kB / 0.9303 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.9908, allocations: 0.893 MB / 0.9311 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.9929, allocations: 0.7256 MB / 0.9318 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.9942, allocations: 0.8552 MB / 0.9327 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.9947, allocations: 358.3 kB / 0.933 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.9954, allocations: 430.4 kB / 0.9334 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.9958, allocations: 289 kB / 0.9337 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.9959, allocations: 20.94 kB / 0.9337 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.9969, allocations: 395.1 kB / 0.9341 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.9971, allocations: 190.3 kB / 0.9343 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.9974, allocations: 140 kB / 0.9344 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.9983, allocations: 0.7343 MB / 0.9351 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.9983, allocations: 4 kB / 0.9351 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9983, allocations: 0 / 0.9351 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.9983, allocations: 0 / 0.9351 GB, free: 21.48 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001237/0.9996, allocations: 0.7832 MB / 0.9359 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9996, allocations: 14.34 kB / 0.9359 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.9997, allocations: 84.83 kB / 0.936 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.001, allocations: 170.6 kB / 0.9362 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/1.002, allocations: 486 kB / 0.9366 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/1.002, allocations: 38.66 kB / 0.9367 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/1.002, allocations: 42.06 kB / 0.9367 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/1.003, allocations: 468.4 kB / 0.9371 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.003, allocations: 1.406 kB / 0.9371 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/1.003, allocations: 14.53 kB / 0.9372 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/1.003, allocations: 23.62 kB / 0.9372 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/1.003, allocations: 408.9 kB / 0.9376 GB, free: 20.55 MB / 0.7325 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.002734/1.006, allocations: 1.867 MB / 0.9394 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/1.006, allocations: 229.4 kB / 0.9396 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.006, allocations: 6.547 kB / 0.9396 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/1.007, allocations: 36.31 kB / 0.9397 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/1.007, allocations: 4 kB / 0.9397 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0008018/1.007, allocations: 396.7 kB / 0.94 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/1.007, allocations: 56.38 kB / 0.9401 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/1.008, allocations: 491.4 kB / 0.9406 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/1.008, allocations: 31.98 kB / 0.9406 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/1.008, allocations: 272.8 kB / 0.9408 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/1.008, allocations: 84.5 kB / 0.9409 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.008, allocations: 8.031 kB / 0.9409 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.008, allocations: 363 kB / 0.9413 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/1.009, allocations: 120.7 kB / 0.9414 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/1.009, allocations: 201.5 kB / 0.9416 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/1.009, allocations: 150 kB / 0.9417 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.009, allocations: 3.594 kB / 0.9417 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000606/1.01, allocations: 398.2 kB / 0.9421 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.01, allocations: 5.625 kB / 0.9421 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.01, allocations: 2.812 kB / 0.9421 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.01, allocations: 6.188 kB / 0.9421 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/1.01, allocations: 67.7 kB / 0.9422 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/1.01, allocations: 3.594 kB / 0.9422 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/1.011, allocations: 65.44 kB / 0.9423 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/1.011, allocations: 10.81 kB / 0.9423 GB, free: 18.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002228/1.011, allocations: 207.5 kB / 0.9425 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/1.011, allocations: 49.16 kB / 0.9425 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/1.011, allocations: 54.89 kB / 0.9426 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.011, allocations: 3.406 kB / 0.9426 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.011, allocations: 0 / 0.9426 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003399/1.012, allocations: 338 kB / 0.9429 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/1.013, allocations: 0.9581 MB / 0.9438 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.013, allocations: 1.281 kB / 0.9438 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/1.013, allocations: 61.67 kB / 0.9439 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.013, allocations: 7.906 kB / 0.9439 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/1.013, allocations: 8.594 kB / 0.9439 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.013, allocations: 3.094 kB / 0.9439 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.013, allocations: 1.156 kB / 0.9439 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/1.014, allocations: 0.6296 MB / 0.9445 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/1.014, allocations: 167.7 kB / 0.9447 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/1.014, allocations: 13.19 kB / 0.9447 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/1.014, allocations: 24.5 kB / 0.9447 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/1.014, allocations: 21.02 kB / 0.9447 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/1.015, allocations: 16.25 kB / 0.9448 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003565/1.015, allocations: 357.3 kB / 0.9451 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.015, allocations: 1.969 kB / 0.9451 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005408/1.015, allocations: 155.4 kB / 0.9452 GB, free: 17.46 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * 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.001226/1.017, allocations: 1.635 MB / 0.9468 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000533/1.017, allocations: 273.1 kB / 0.9471 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.017, allocations: 1.188 kB / 0.9471 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/1.017, allocations: 118.3 kB / 0.9472 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.019, allocations: 319.4 kB / 0.9475 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/1.023, allocations: 4.272 MB / 0.9517 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/1.024, allocations: 0.8911 MB / 0.9526 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005158/1.024, allocations: 124 kB / 0.9527 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/1.025, allocations: 161.9 kB / 0.9528 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/1.025, allocations: 0 / 0.9528 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/1.367, allocations: 14.4 MB / 0.9669 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/1.368, allocations: 231.5 kB / 0.9671 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.545, allocations: 8 kB / 0.9671 GB, free: 9.078 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: