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.0009206/0.0009206, allocations: 86.72 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.001189/0.001189, 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 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.749/1.749, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005179/0.0005181, allocations: 13.62 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2139, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6204/0.8343, allocations: 155.2 MB / 0.9389 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005981/0.8403, allocations: 3.169 MB / 0.942 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.8411, allocations: 15.34 kB / 0.942 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.8418, allocations: 210.4 kB / 0.9422 GB, free: 5.012 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002149/0.844, allocations: 0.7509 MB / 0.943 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.8459, allocations: 0.49 MB / 0.9434 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002639/0.8485, allocations: 1.755 MB / 0.9452 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006338/0.8491, allocations: 358.3 kB / 0.9455 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.8501, allocations: 482.3 kB / 0.946 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007193/0.8508, allocations: 445.1 kB / 0.9464 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.8509, allocations: 20.84 kB / 0.9464 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.8524, allocations: 428 kB / 0.9468 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.8527, allocations: 201.8 kB / 0.947 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.8531, allocations: 140.8 kB / 0.9471 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.8543, allocations: 0.7768 MB / 0.9479 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8543, allocations: 0 / 0.9479 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8543, allocations: 0.5625 kB / 0.9479 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.8543, allocations: 0 / 0.9479 GB, free: 20.51 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.001258/0.8556, allocations: 0.8019 MB / 0.9487 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8556, allocations: 9.938 kB / 0.9487 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.8557, allocations: 83.52 kB / 0.9488 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8568, allocations: 174.3 kB / 0.9489 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.8576, allocations: 487.3 kB / 0.9494 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.8576, allocations: 33.94 kB / 0.9494 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.8577, allocations: 41.34 kB / 0.9495 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.8586, allocations: 470.7 kB / 0.9499 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.8586, allocations: 0 / 0.9499 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.8587, allocations: 23.38 kB / 0.9499 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.8587, allocations: 19.2 kB / 0.95 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.8594, allocations: 409.3 kB / 0.9503 GB, free: 19.56 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.00284/0.8622, allocations: 1.876 MB / 0.9522 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.8626, allocations: 224.9 kB / 0.9524 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.8628, allocations: 148.9 kB / 0.9525 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.863, allocations: 101.7 kB / 0.9526 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.863, allocations: 38.72 kB / 0.9527 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.863, allocations: 0 / 0.9527 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007874/0.8638, allocations: 390.5 kB / 0.953 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.8639, allocations: 56.91 kB / 0.9531 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.8644, allocations: 489.7 kB / 0.9536 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.8645, allocations: 36.47 kB / 0.9536 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.8647, allocations: 278.4 kB / 0.9539 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.8647, allocations: 91.22 kB / 0.954 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.8648, allocations: 4.5 kB / 0.954 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.8649, allocations: 359.8 kB / 0.9543 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.8651, allocations: 115.8 kB / 0.9544 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.8654, allocations: 206.5 kB / 0.9546 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.8657, allocations: 150.2 kB / 0.9548 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8657, allocations: 5.031 kB / 0.9548 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005817/0.8663, allocations: 394.8 kB / 0.9551 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8663, allocations: 6.594 kB / 0.9551 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8663, allocations: 2.625 kB / 0.9551 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8663, allocations: 3.906 kB / 0.9551 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.8666, allocations: 64.5 kB / 0.9552 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.8666, allocations: 13.72 kB / 0.9552 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.8671, allocations: 57.5 kB / 0.9553 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.8671, allocations: 12.88 kB / 0.9553 GB, free: 17.53 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.0002364/0.8673, allocations: 206.8 kB / 0.9555 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.8674, allocations: 48.69 kB / 0.9555 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.8675, allocations: 58.16 kB / 0.9556 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8676, allocations: 5.359 kB / 0.9556 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8676, allocations: 1.031 kB / 0.9556 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003805/0.868, allocations: 333.8 kB / 0.9559 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.8692, allocations: 0.9583 MB / 0.9568 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.8692, allocations: 2.125 kB / 0.9568 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.8695, allocations: 59.11 kB / 0.9569 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.8695, allocations: 3.031 kB / 0.9569 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.8695, allocations: 7.062 kB / 0.9569 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.8695, allocations: 4.344 kB / 0.9569 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8695, allocations: 2.219 kB / 0.9569 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.8702, allocations: 0.5643 MB / 0.9575 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.8704, allocations: 165 kB / 0.9576 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.8705, allocations: 5.625 kB / 0.9576 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.8708, allocations: 26.92 kB / 0.9577 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.8709, allocations: 25.58 kB / 0.9577 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.8709, allocations: 12.69 kB / 0.9577 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000409/0.8713, allocations: 353.2 kB / 0.958 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8713, allocations: 0 / 0.958 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005727/0.8719, allocations: 159.8 kB / 0.9582 GB, free: 16.38 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.0012/0.8731, allocations: 1.158 MB / 0.9593 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.8736, allocations: 272.4 kB / 0.9596 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8736, allocations: 0.9688 kB / 0.9596 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.8738, allocations: 117.7 kB / 0.9597 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.8753, allocations: 331.3 kB / 0.96 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.8795, allocations: 2.937 MB / 0.9629 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.88, allocations: 0.8799 MB / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005145/0.8805, allocations: 128.7 kB / 0.9639 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.8808, allocations: 165.3 kB / 0.964 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.8808, allocations: 3.938 kB / 0.964 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.9112, allocations: 14.43 MB / 0.9781 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.9115, allocations: 233.1 kB / 0.9783 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/3.069, allocations: 0 / 0.9783 GB, free: 8.219 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: