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.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.558/1.558, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001335/0.001335, allocations: 68.53 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1705, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4916/0.6622, allocations: 170.8 MB / 0.9502 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.6673, allocations: 3.354 MB / 0.9535 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006343/0.6679, allocations: 24.66 kB / 0.9535 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.6687, allocations: 316 kB / 0.9538 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.6709, allocations: 1.013 MB / 0.9548 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.6723, allocations: 0.6503 MB / 0.9555 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.6737, allocations: 1.509 MB / 0.9569 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.6744, allocations: 483.5 kB / 0.9574 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009113/0.6753, allocations: 0.5551 MB / 0.9579 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009583/0.6763, allocations: 464.2 kB / 0.9584 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.6764, allocations: 54.59 kB / 0.9584 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.6779, allocations: 0.8292 MB / 0.9592 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.6782, allocations: 240.8 kB / 0.9595 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.6785, allocations: 337.5 kB / 0.9598 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.6799, allocations: 1.118 MB / 0.9609 GB, free: 152 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6799, allocations: 0 / 0.9609 GB, free: 152 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6799, allocations: 0 / 0.9609 GB, free: 152 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6799, allocations: 0 / 0.9609 GB, free: 152 kB / 0.7169 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.001366/0.6813, allocations: 0.9142 MB / 0.9618 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6813, allocations: 9.469 kB / 0.9618 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.6815, allocations: 83.61 kB / 0.9619 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.6826, allocations: 179.9 kB / 0.962 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.6832, allocations: 0.4942 MB / 0.9625 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.6833, allocations: 32 kB / 0.9625 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.6833, allocations: 42.34 kB / 0.9626 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.684, allocations: 475.8 kB / 0.963 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.684, allocations: 0 / 0.963 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.6841, allocations: 18.56 kB / 0.9631 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.6841, allocations: 19.69 kB / 0.9631 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.6847, allocations: 410.5 kB / 0.9635 GB, free: 15.17 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.002738/0.6875, allocations: 1.878 MB / 0.9653 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.6878, allocations: 227.9 kB / 0.9655 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.6881, allocations: 149.9 kB / 0.9657 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.6882, allocations: 98.78 kB / 0.9658 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.6883, allocations: 40.17 kB / 0.9658 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.6883, allocations: 0.9688 kB / 0.9658 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007537/0.689, allocations: 397.1 kB / 0.9662 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.6891, allocations: 57.94 kB / 0.9662 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.6896, allocations: 495.3 kB / 0.9667 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.6896, allocations: 35.55 kB / 0.9667 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.6898, allocations: 271.4 kB / 0.967 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.6898, allocations: 83 kB / 0.9671 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.69, allocations: 70.17 kB / 0.9671 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6901, allocations: 359.3 kB / 0.9675 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.6903, allocations: 115 kB / 0.9676 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.6905, allocations: 210.2 kB / 0.9678 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.6909, allocations: 334.2 kB / 0.9681 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6909, allocations: 1.25 kB / 0.9681 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005417/0.6915, allocations: 402 kB / 0.9685 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6915, allocations: 5.5 kB / 0.9685 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6915, allocations: 2.75 kB / 0.9685 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6915, allocations: 4.125 kB / 0.9685 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.6918, allocations: 61.66 kB / 0.9686 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6918, allocations: 8.062 kB / 0.9686 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.6923, allocations: 52.92 kB / 0.9686 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.6924, allocations: 14.56 kB / 0.9686 GB, free: 13.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.6926, allocations: 202.4 kB / 0.9688 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.6927, allocations: 50.25 kB / 0.9689 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.6928, allocations: 57.83 kB / 0.9689 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6928, allocations: 2.75 kB / 0.9689 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6928, allocations: 5.312 kB / 0.9689 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00033/0.6931, allocations: 333 kB / 0.9693 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.6943, allocations: 0.9684 MB / 0.9702 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6943, allocations: 1.156 kB / 0.9702 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.6946, allocations: 57.53 kB / 0.9703 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.6946, allocations: 4.188 kB / 0.9703 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.6947, allocations: 12.75 kB / 0.9703 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6947, allocations: 4.188 kB / 0.9703 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6947, allocations: 2.5 kB / 0.9703 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.6953, allocations: 0.5599 MB / 0.9708 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.6955, allocations: 168.7 kB / 0.971 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.6955, allocations: 7.5 kB / 0.971 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.6959, allocations: 18.88 kB / 0.971 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.696, allocations: 20.53 kB / 0.971 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.696, allocations: 21.67 kB / 0.9711 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003386/0.6964, allocations: 359.6 kB / 0.9714 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6964, allocations: 0 / 0.9714 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005219/0.6969, allocations: 153.5 kB / 0.9716 GB, free: 11.86 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 (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.001046/0.698, allocations: 1.155 MB / 0.9727 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.6984, allocations: 297.6 kB / 0.973 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6984, allocations: 4.5 kB / 0.973 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.6986, allocations: 126.9 kB / 0.9731 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.7001, allocations: 349.6 kB / 0.9734 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.7045, allocations: 4.249 MB / 0.9776 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.7049, allocations: 0.8734 MB / 0.9784 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004331/0.7054, allocations: 130.1 kB / 0.9785 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.7056, allocations: 161.2 kB / 0.9787 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7056, allocations: 0 / 0.9787 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/1.218, allocations: 14.69 MB / 0.993 GB, free: 152 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.28, allocations: 14.73 kB / 0.9931 GB, free: 144 kB / 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/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)