Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.005534/0.005534, allocations: 98.48 kB / 15.73 MB, free: 6.043 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.001508/0.001508, allocations: 197 kB / 16.67 MB, free: 5.965 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 286.6 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 1.008/1.008, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 105.4 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4154, allocations: 89.13 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05151/0.467, allocations: 49.76 MB / 0.8299 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.4855, allocations: 12.67 MB / 0.8423 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.4879, allocations: 78.06 kB / 0.8424 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.4901, allocations: 0.7572 MB / 0.8431 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.495, allocations: 1.831 MB / 0.8449 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.4984, allocations: 1.365 MB / 0.8463 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004716/0.5032, allocations: 3.255 MB / 0.8494 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.5052, allocations: 1.256 MB / 0.8507 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.5086, allocations: 1.313 MB / 0.8519 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.5103, allocations: 0.9266 MB / 0.8528 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.5105, allocations: 96 kB / 0.8529 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.5128, allocations: 1.068 MB / 0.854 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5131, allocations: 294.8 kB / 0.8543 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007333/0.5138, allocations: 0.6723 MB / 0.8549 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.5166, allocations: 1.967 MB / 0.8568 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5166, allocations: 4 kB / 0.8568 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5166, allocations: 0 / 0.8568 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5166, allocations: 0 / 0.8568 GB, free: 1.746 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002513/0.5191, allocations: 1.75 MB / 0.8586 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5192, allocations: 12.03 kB / 0.8586 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.5193, allocations: 131.4 kB / 0.8587 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005665/0.5199, allocations: 215.9 kB / 0.8589 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.5218, allocations: 1.101 MB / 0.86 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.5218, allocations: 70.12 kB / 0.86 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.522, allocations: 84 kB / 0.8601 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.5237, allocations: 1.011 MB / 0.8611 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5237, allocations: 0 / 0.8611 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.5238, allocations: 36 kB / 0.8611 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.5238, allocations: 24 kB / 0.8612 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.5253, allocations: 0.6477 MB / 0.8618 GB, free: 12.48 MB / 0.6231 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.00508/0.5304, allocations: 4.741 MB / 0.8664 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5317, allocations: 395.8 kB / 0.8668 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.5323, allocations: 216.7 kB / 0.867 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009467/0.5333, allocations: 1.144 MB / 0.8681 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5333, allocations: 38.56 kB / 0.8682 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 3.527e-06/0.5334, allocations: 0 / 0.8682 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.002849/0.5362, allocations: 1.089 MB / 0.8692 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.5363, allocations: 59.34 kB / 0.8693 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5374, allocations: 0.9715 MB / 0.8702 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.5375, allocations: 33.7 kB / 0.8703 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.538, allocations: 0.5978 MB / 0.8708 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5381, allocations: 111.1 kB / 0.871 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.5383, allocations: 118.1 kB / 0.8711 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5384, allocations: 322 kB / 0.8714 GB, free: 2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.539, allocations: 197 kB / 0.8716 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.5397, allocations: 410.3 kB / 0.872 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.5409, allocations: 0.5979 MB / 0.8725 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5409, allocations: 0 / 0.8725 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00165/0.5426, allocations: 0.7616 MB / 0.8733 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5426, allocations: 8 kB / 0.8733 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5426, allocations: 12.06 kB / 0.8733 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.5433, allocations: 162.5 kB / 0.8735 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.5439, allocations: 143.8 kB / 0.8736 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.5451, allocations: 1.716 MB / 0.8753 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.5457, allocations: 91.66 kB / 0.8754 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.5458, allocations: 35.98 kB / 0.8754 GB, free: 13.61 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.5462, allocations: 262.2 kB / 0.8756 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.5464, allocations: 123.2 kB / 0.8758 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.5482, allocations: 0.719 MB / 0.8765 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.5482, allocations: 7.938 kB / 0.8765 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5483, allocations: 0 / 0.8765 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5483, allocations: 3.984 kB / 0.8765 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.5511, allocations: 1.636 MB / 0.8781 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5511, allocations: 0 / 0.8781 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.5515, allocations: 88.09 kB / 0.8782 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/0.5521, allocations: 154.4 kB / 0.8783 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.5521, allocations: 11.94 kB / 0.8783 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.5533, allocations: 1.708 MB / 0.88 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5533, allocations: 8.016 kB / 0.88 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5549, allocations: 0.7844 MB / 0.8808 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.5552, allocations: 256.2 kB / 0.881 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5553, allocations: 8 kB / 0.881 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.5559, allocations: 43.95 kB / 0.881 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.556, allocations: 31.89 kB / 0.8811 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.556, allocations: 19.98 kB / 0.8811 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008659/0.5569, allocations: 0.6619 MB / 0.8817 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5569, allocations: 4 kB / 0.8817 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001015/0.5579, allocations: 382.9 kB / 0.8821 GB, free: 6.465 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002658/0.5606, allocations: 1.635 MB / 0.8837 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.5622, allocations: 0.5555 MB / 0.8842 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5622, allocations: 8 kB / 0.8843 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.5631, allocations: 292 kB / 0.8845 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.5653, allocations: 0.5145 MB / 0.885 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.5762, allocations: 7.329 MB / 0.8922 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.577, allocations: 1.107 MB / 0.8933 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006122/0.5776, allocations: 195.6 kB / 0.8935 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.5781, allocations: 415.3 kB / 0.8939 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.5781, allocations: 0 / 0.8939 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/0.6385, allocations: 29.55 MB / 0.9227 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.59, allocations: 3.938 kB / 0.9227 GB, free: 13.01 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)