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.004861/0.004862, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001286/0.001286, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.215/1.215, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 294.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.882/0.882, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 91.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.363, allocations: 86.98 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1609/0.5239, allocations: 170.8 MB / 0.9327 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004901/0.5289, allocations: 3.383 MB / 0.936 GB, free: 5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.5293, allocations: 19.88 kB / 0.936 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.5301, allocations: 330 kB / 0.9363 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.532, allocations: 1.058 MB / 0.9373 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.5334, allocations: 0.6699 MB / 0.938 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.5349, allocations: 1.529 MB / 0.9395 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.5354, allocations: 477.4 kB / 0.94 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007093/0.5361, allocations: 0.597 MB / 0.9405 GB, free: 340 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.537, allocations: 460 kB / 0.941 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.5371, allocations: 56 kB / 0.941 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.5384, allocations: 0.834 MB / 0.9418 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.5386, allocations: 243.3 kB / 0.9421 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.5389, allocations: 334.6 kB / 0.9424 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.5402, allocations: 1.144 MB / 0.9435 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5402, allocations: 0 / 0.9435 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5402, allocations: 0 / 0.9435 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.5402, allocations: 0 / 0.9435 GB, free: 13.29 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.001213/0.5414, allocations: 0.9406 MB / 0.9444 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5415, allocations: 8.031 kB / 0.9444 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.301e-05/0.5416, allocations: 82.52 kB / 0.9445 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5427, allocations: 187.4 kB / 0.9447 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.5434, allocations: 0.5212 MB / 0.9452 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5434, allocations: 29 kB / 0.9452 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.5435, allocations: 40 kB / 0.9453 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.5442, allocations: 478.4 kB / 0.9457 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5442, allocations: 0 / 0.9457 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.5443, allocations: 16 kB / 0.9457 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.5443, allocations: 20.94 kB / 0.9458 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.5449, allocations: 415.7 kB / 0.9462 GB, free: 10.47 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.00221/0.5471, allocations: 1.732 MB / 0.9478 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.5476, allocations: 298.6 kB / 0.9481 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.5478, allocations: 176.8 kB / 0.9483 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.548, allocations: 101 kB / 0.9484 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.548, allocations: 38.56 kB / 0.9484 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.5481, allocations: 4 kB / 0.9484 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001742/0.5498, allocations: 1.061 MB / 0.9495 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.5498, allocations: 55.41 kB / 0.9495 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.5503, allocations: 453.9 kB / 0.95 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.5503, allocations: 37.7 kB / 0.95 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5505, allocations: 260.4 kB / 0.9502 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.5506, allocations: 126.9 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.5507, allocations: 65.7 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5508, allocations: 354.8 kB / 0.9508 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.551, allocations: 123.9 kB / 0.9509 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.5513, allocations: 190.6 kB / 0.9511 GB, free: 5.152 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.001793/0.5531, allocations: 0.8675 MB / 0.9519 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5531, allocations: 8 kB / 0.9519 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000571/0.5537, allocations: 418.1 kB / 0.9523 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5537, allocations: 8 kB / 0.9523 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5537, allocations: 0 / 0.9523 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5537, allocations: 4 kB / 0.9523 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.554, allocations: 71.91 kB / 0.9524 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.554, allocations: 7.938 kB / 0.9524 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.5544, allocations: 16.12 kB / 0.9524 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.5544, allocations: 16 kB / 0.9524 GB, free: 3.703 MB / 0.7169 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.0002104/0.5546, allocations: 216.6 kB / 0.9526 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.5547, allocations: 59.66 kB / 0.9527 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.5549, allocations: 52.77 kB / 0.9528 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5549, allocations: 4 kB / 0.9528 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5549, allocations: 0 / 0.9528 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004593/0.5553, allocations: 409.2 kB / 0.9531 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.557, allocations: 1.252 MB / 0.9544 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.557, allocations: 4 kB / 0.9544 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.5573, allocations: 67.91 kB / 0.9544 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5573, allocations: 4.5 kB / 0.9544 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.5573, allocations: 12 kB / 0.9545 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.5574, allocations: 19.92 kB / 0.9545 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5574, allocations: 4 kB / 0.9545 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.5582, allocations: 0.7118 MB / 0.9552 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.5584, allocations: 168.7 kB / 0.9553 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.5584, allocations: 11.98 kB / 0.9553 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.5588, allocations: 20 kB / 0.9554 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.5589, allocations: 35.91 kB / 0.9554 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.5589, allocations: 23.98 kB / 0.9554 GB, free: 436 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003149/0.5592, allocations: 323.1 kB / 0.9557 GB, free: 116 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5593, allocations: 0 / 0.9557 GB, free: 116 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.2799/0.8391, allocations: 143.7 kB / 0.9559 GB, free: 190.7 MB / 0.7169 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.001553/0.8407, allocations: 1.304 MB / 0.9571 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.8414, allocations: 324.5 kB / 0.9574 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8414, allocations: 5.406 kB / 0.9575 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.8416, allocations: 157.9 kB / 0.9576 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.8433, allocations: 377.5 kB / 0.958 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.8481, allocations: 4.418 MB / 0.9623 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.8484, allocations: 0.8834 MB / 0.9631 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004161/0.8488, allocations: 140.2 kB / 0.9633 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.8491, allocations: 164.4 kB / 0.9634 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8491, allocations: 0 / 0.9634 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.9029, allocations: 15.49 MB / 0.9786 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.486, allocations: 22.84 kB / 0.9786 GB, free: 175.8 MB / 0.7169 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)