Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.006615/0.006615, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001843/0.001843, allocations: 193.7 kB / 16.68 MB, free: 6.363 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 278.7 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9912/0.9912, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 100.6 kB / 0.6943 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4053, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1867/0.5921, allocations: 170.8 MB / 0.9481 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005725/0.5978, allocations: 3.371 MB / 0.9514 GB, free: 492 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006825/0.5985, allocations: 23.88 kB / 0.9514 GB, free: 468 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009787/0.5996, allocations: 318.1 kB / 0.9517 GB, free: 148 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.6021, allocations: 1.011 MB / 0.9527 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.6037, allocations: 0.6684 MB / 0.9534 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002012/0.6058, allocations: 1.533 MB / 0.9549 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.6065, allocations: 477.5 kB / 0.9553 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.6076, allocations: 0.5657 MB / 0.9559 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.6088, allocations: 469.5 kB / 0.9563 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.6089, allocations: 56 kB / 0.9564 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.6105, allocations: 0.8301 MB / 0.9572 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.6108, allocations: 243.4 kB / 0.9574 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.6112, allocations: 334.5 kB / 0.9578 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.6129, allocations: 1.137 MB / 0.9589 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6129, allocations: 4 kB / 0.9589 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.613, allocations: 0 / 0.9589 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.477e-05/0.613, allocations: 0 / 0.9589 GB, free: 8.844 MB / 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.001562/0.6145, allocations: 0.9223 MB / 0.9598 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.6146, allocations: 20.02 kB / 0.9598 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.6147, allocations: 86.47 kB / 0.9599 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6159, allocations: 179.4 kB / 0.96 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.6168, allocations: 0.5212 MB / 0.9605 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.6168, allocations: 40.94 kB / 0.9606 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.6169, allocations: 40 kB / 0.9606 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.6177, allocations: 470.4 kB / 0.9611 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.6177, allocations: 0 / 0.9611 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.6178, allocations: 20 kB / 0.9611 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.6178, allocations: 17 kB / 0.9611 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.6185, allocations: 415.7 kB / 0.9615 GB, free: 6.031 MB / 0.7169 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.002577/0.6211, allocations: 1.736 MB / 0.9632 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.6216, allocations: 294.6 kB / 0.9635 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.6218, allocations: 183.5 kB / 0.9637 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.622, allocations: 109 kB / 0.9638 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.6221, allocations: 38.56 kB / 0.9638 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.6221, allocations: 0 / 0.9638 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001994/0.6241, allocations: 1.068 MB / 0.9648 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.6241, allocations: 55.41 kB / 0.9649 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.6246, allocations: 453.9 kB / 0.9653 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.6247, allocations: 33.7 kB / 0.9654 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.6249, allocations: 260.4 kB / 0.9656 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.625, allocations: 119 kB / 0.9657 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.6251, allocations: 65.7 kB / 0.9658 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6253, allocations: 358.8 kB / 0.9661 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6255, allocations: 123.9 kB / 0.9662 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.6258, allocations: 197.9 kB / 0.9664 GB, free: 0.6953 MB / 0.7169 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.6278, allocations: 0.8593 MB / 0.9673 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6278, allocations: 0 / 0.9673 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006321/0.6284, allocations: 420.8 kB / 0.9677 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6285, allocations: 9.875 kB / 0.9677 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6285, allocations: 0 / 0.9677 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.6285, allocations: 4 kB / 0.9677 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.6288, allocations: 72.09 kB / 0.9678 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.6288, allocations: 4 kB / 0.9678 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.6292, allocations: 15.94 kB / 0.9678 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.6292, allocations: 12 kB / 0.9678 GB, free: 15.27 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002476/0.6295, allocations: 216.4 kB / 0.968 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/0.6296, allocations: 51.67 kB / 0.968 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.6297, allocations: 60.77 kB / 0.9681 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.6297, allocations: 4 kB / 0.9681 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6298, allocations: 7.938 kB / 0.9681 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005129/0.6303, allocations: 408.2 kB / 0.9685 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.6321, allocations: 1.245 MB / 0.9697 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6321, allocations: 4.5 kB / 0.9697 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.6324, allocations: 79.84 kB / 0.9698 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6324, allocations: 4 kB / 0.9698 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.6325, allocations: 15.98 kB / 0.9698 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.6325, allocations: 4 kB / 0.9698 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6325, allocations: 11.94 kB / 0.9698 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.6334, allocations: 0.708 MB / 0.9705 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.6336, allocations: 168.8 kB / 0.9707 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.6337, allocations: 15.98 kB / 0.9707 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.6341, allocations: 19.98 kB / 0.9707 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.6341, allocations: 35.91 kB / 0.9708 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.6342, allocations: 23.98 kB / 0.9708 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000366/0.6346, allocations: 327.1 kB / 0.9711 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6346, allocations: 0 / 0.9711 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005076/0.6351, allocations: 140 kB / 0.9712 GB, free: 11.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.001412/0.6365, allocations: 1.317 MB / 0.9725 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.6371, allocations: 327.8 kB / 0.9728 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6371, allocations: 0 / 0.9728 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.6373, allocations: 157.1 kB / 0.973 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.639, allocations: 367.9 kB / 0.9733 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.6444, allocations: 4.424 MB / 0.9776 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6449, allocations: 0.8823 MB / 0.9785 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004112/0.6453, allocations: 128.6 kB / 0.9786 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.6456, allocations: 167.4 kB / 0.9788 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of SimCode: time 2.244e-06/0.6456, allocations: 4 kB / 0.9788 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.6854, allocations: 15.51 MB / 0.9939 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.705, allocations: 8.5 kB / 0.9939 GB, free: 4.316 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)