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.001285/0.001285, allocations: 108 kB / 15.6 MB, free: 132 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.001284/0.001285, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 289.5 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9021/0.9021, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 96.58 kB / 0.5953 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1313, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4131/0.5444, allocations: 170.8 MB / 0.847 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.5493, allocations: 3.385 MB / 0.8504 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.5497, allocations: 22.09 kB / 0.8504 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.5504, allocations: 312.2 kB / 0.8507 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.5524, allocations: 1.014 MB / 0.8517 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5537, allocations: 0.6607 MB / 0.8523 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.555, allocations: 1.525 MB / 0.8538 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.5555, allocations: 485 kB / 0.8543 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.5562, allocations: 0.5602 MB / 0.8548 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.557, allocations: 466.5 kB / 0.8552 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.5571, allocations: 52.91 kB / 0.8553 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.5582, allocations: 0.8305 MB / 0.8561 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.5584, allocations: 245.5 kB / 0.8563 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.5587, allocations: 338.5 kB / 0.8567 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.5598, allocations: 1.121 MB / 0.8578 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5599, allocations: 2.469 kB / 0.8578 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5599, allocations: 0 / 0.8578 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.5599, allocations: 0 / 0.8578 GB, free: 8.328 MB / 0.5762 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.001171/0.5611, allocations: 0.9213 MB / 0.8587 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.5611, allocations: 10.09 kB / 0.8587 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.327e-05/0.5612, allocations: 79.44 kB / 0.8587 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.5623, allocations: 179 kB / 0.8589 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.563, allocations: 0.5081 MB / 0.8594 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.563, allocations: 31.19 kB / 0.8594 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.5631, allocations: 43.19 kB / 0.8595 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.5637, allocations: 474.5 kB / 0.8599 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5638, allocations: 4 kB / 0.8599 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.5638, allocations: 17.06 kB / 0.86 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5638, allocations: 19.41 kB / 0.86 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.5644, allocations: 418.1 kB / 0.8604 GB, free: 6.477 MB / 0.5762 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.002193/0.5666, allocations: 1.741 MB / 0.8621 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.5671, allocations: 297.8 kB / 0.8624 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.5673, allocations: 178.9 kB / 0.8625 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.5675, allocations: 104.8 kB / 0.8626 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5675, allocations: 40.59 kB / 0.8627 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.5675, allocations: 0 / 0.8627 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001686/0.5692, allocations: 1.046 MB / 0.8637 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.5692, allocations: 58.56 kB / 0.8637 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.5696, allocations: 459.7 kB / 0.8642 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.5697, allocations: 34.98 kB / 0.8642 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.5699, allocations: 248.9 kB / 0.8645 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.5699, allocations: 117 kB / 0.8646 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5701, allocations: 74.03 kB / 0.8646 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5702, allocations: 355.4 kB / 0.865 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.5704, allocations: 126.8 kB / 0.8651 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.5706, allocations: 201.8 kB / 0.8653 GB, free: 2.637 MB / 0.5762 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.001768/0.5724, allocations: 0.8638 MB / 0.8661 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5724, allocations: 0 / 0.8661 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005481/0.5729, allocations: 417.1 kB / 0.8665 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.573, allocations: 4.844 kB / 0.8665 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.573, allocations: 2.188 kB / 0.8665 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.573, allocations: 3.281 kB / 0.8665 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5733, allocations: 73.44 kB / 0.8666 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5733, allocations: 10.59 kB / 0.8666 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.5737, allocations: 20.95 kB / 0.8666 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5737, allocations: 10.06 kB / 0.8667 GB, free: 1.855 MB / 0.5762 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.0002192/0.5739, allocations: 210.1 kB / 0.8669 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.574, allocations: 52.88 kB / 0.8669 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.5741, allocations: 63.41 kB / 0.867 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5742, allocations: 6.25 kB / 0.867 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5742, allocations: 0 / 0.867 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004431/0.5746, allocations: 407 kB / 0.8674 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.5762, allocations: 1.25 MB / 0.8686 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5762, allocations: 2.719 kB / 0.8686 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.5765, allocations: 78.03 kB / 0.8687 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5765, allocations: 7.688 kB / 0.8687 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.5765, allocations: 8.781 kB / 0.8687 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.5766, allocations: 11.28 kB / 0.8687 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5766, allocations: 2.781 kB / 0.8687 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.5773, allocations: 0.6992 MB / 0.8694 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.5775, allocations: 179.3 kB / 0.8695 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.5776, allocations: 11.12 kB / 0.8696 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.578, allocations: 17.89 kB / 0.8696 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.5781, allocations: 36.56 kB / 0.8696 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.5781, allocations: 19.53 kB / 0.8696 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000303/0.5784, allocations: 332.3 kB / 0.8699 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5784, allocations: 0 / 0.8699 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004872/0.5789, allocations: 140.1 kB / 0.8701 GB, free: 15.39 MB / 0.5919 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.001162/0.5801, allocations: 1.301 MB / 0.8713 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.5806, allocations: 353 kB / 0.8717 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5806, allocations: 0 / 0.8717 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.5808, allocations: 168.8 kB / 0.8718 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5825, allocations: 363.5 kB / 0.8722 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.5871, allocations: 4.481 MB / 0.8766 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5875, allocations: 0.889 MB / 0.8774 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004462/0.588, allocations: 132.4 kB / 0.8776 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.5882, allocations: 166.7 kB / 0.8777 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5882, allocations: 0 / 0.8777 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.6216, allocations: 15.39 MB / 0.8927 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.7, allocations: 10.17 kB / 0.8928 GB, free: 13.2 MB / 0.6075 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)