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.005236/0.005236, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001245/0.001245, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 279.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.907/0.907, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 99.91 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1409, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4499/0.5908, allocations: 170.8 MB / 0.9327 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.5957, allocations: 3.397 MB / 0.936 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.5961, allocations: 19.88 kB / 0.936 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007639/0.5969, allocations: 322.1 kB / 0.9363 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.5989, allocations: 1.054 MB / 0.9373 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.6003, allocations: 0.6761 MB / 0.938 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.6018, allocations: 1.533 MB / 0.9395 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.6023, allocations: 475 kB / 0.94 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.603, allocations: 0.5911 MB / 0.9405 GB, free: 148 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008882/0.6039, allocations: 474.5 kB / 0.941 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.604, allocations: 52 kB / 0.941 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.6053, allocations: 0.8378 MB / 0.9419 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.6055, allocations: 239.4 kB / 0.9421 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.6058, allocations: 338.5 kB / 0.9424 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.6071, allocations: 1.135 MB / 0.9435 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.6071, allocations: 0 / 0.9435 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6071, allocations: 4 kB / 0.9435 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.6071, allocations: 0 / 0.9435 GB, free: 13.09 MB / 0.7012 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.001234/0.6083, allocations: 0.934 MB / 0.9444 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6084, allocations: 8.031 kB / 0.9444 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.282e-05/0.6085, allocations: 82.52 kB / 0.9445 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6096, allocations: 187.4 kB / 0.9447 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.6104, allocations: 0.5212 MB / 0.9452 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.6104, allocations: 29 kB / 0.9452 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.6105, allocations: 44 kB / 0.9453 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.6112, allocations: 476.1 kB / 0.9457 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6113, allocations: 0 / 0.9457 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.6113, allocations: 16 kB / 0.9457 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.6114, allocations: 17 kB / 0.9458 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005967/0.612, allocations: 419.7 kB / 0.9462 GB, free: 10.28 MB / 0.7012 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.002276/0.6142, allocations: 1.736 MB / 0.9479 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.6147, allocations: 287.8 kB / 0.9481 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.6149, allocations: 183.5 kB / 0.9483 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.6151, allocations: 101.1 kB / 0.9484 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.6151, allocations: 46.5 kB / 0.9484 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.6152, allocations: 7.875 kB / 0.9485 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.001763/0.6169, allocations: 1.057 MB / 0.9495 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.617, allocations: 59.34 kB / 0.9495 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.6174, allocations: 457.9 kB / 0.95 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.6175, allocations: 33.7 kB / 0.95 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.6176, allocations: 260.4 kB / 0.9503 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.6177, allocations: 119 kB / 0.9504 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.6178, allocations: 69.69 kB / 0.9504 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.618, allocations: 358.8 kB / 0.9508 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.6181, allocations: 119.9 kB / 0.9509 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.6184, allocations: 197.9 kB / 0.9511 GB, free: 4.945 MB / 0.7012 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.001804/0.6202, allocations: 0.8668 MB / 0.9519 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.6202, allocations: 0 / 0.9519 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005574/0.6208, allocations: 412.9 kB / 0.9523 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6208, allocations: 8 kB / 0.9523 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6208, allocations: 0 / 0.9523 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6208, allocations: 7.984 kB / 0.9523 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.6211, allocations: 71.3 kB / 0.9524 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6211, allocations: 12.17 kB / 0.9524 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.6215, allocations: 11.94 kB / 0.9524 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.6216, allocations: 16 kB / 0.9524 GB, free: 3.508 MB / 0.7012 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.0002119/0.6218, allocations: 206.9 kB / 0.9526 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.6219, allocations: 59.61 kB / 0.9527 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.622, allocations: 56.75 kB / 0.9528 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.622, allocations: 4 kB / 0.9528 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.622, allocations: 0 / 0.9528 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004521/0.6225, allocations: 417.1 kB / 0.9532 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6241, allocations: 1.247 MB / 0.9544 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6241, allocations: 4 kB / 0.9544 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.6244, allocations: 68.41 kB / 0.9544 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6245, allocations: 12 kB / 0.9545 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.6245, allocations: 8 kB / 0.9545 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/0.6245, allocations: 11.98 kB / 0.9545 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6245, allocations: 11.88 kB / 0.9545 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.6253, allocations: 0.7077 MB / 0.9552 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.6255, allocations: 172.7 kB / 0.9553 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.6256, allocations: 11.98 kB / 0.9554 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.626, allocations: 22.03 kB / 0.9554 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.626, allocations: 35.91 kB / 0.9554 GB, free: 256 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.6261, allocations: 23.98 kB / 0.9554 GB, free: 232 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003257/0.6264, allocations: 323.1 kB / 0.9557 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6264, allocations: 3.938 kB / 0.9557 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004861/0.6269, allocations: 147.9 kB / 0.9559 GB, free: 15.77 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.001247/0.6282, allocations: 1.31 MB / 0.9572 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.6287, allocations: 324.5 kB / 0.9575 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6287, allocations: 0 / 0.9575 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.6289, allocations: 164.7 kB / 0.9576 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6305, allocations: 364.4 kB / 0.958 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.6352, allocations: 4.421 MB / 0.9623 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6357, allocations: 0.8862 MB / 0.9632 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003819/0.6361, allocations: 128.6 kB / 0.9633 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.6363, allocations: 167.4 kB / 0.9634 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of SimCode: time 1.573e-06/0.6363, allocations: 4 kB / 0.9634 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.6716, allocations: 15.5 MB / 0.9786 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/8.263, allocations: 3.859 kB / 0.9786 GB, free: 8.586 MB / 0.7325 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)