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.0009703/0.0009703, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007752/0.007752, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 263.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8896/0.8896, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 14.34 kB / 0.5988 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4265/0.5628, allocations: 166.3 MB / 0.8476 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.5676, allocations: 3.377 MB / 0.8509 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.5681, allocations: 18.81 kB / 0.851 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.5688, allocations: 274.9 kB / 0.8512 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.5707, allocations: 0.9561 MB / 0.8522 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.572, allocations: 0.62 MB / 0.8528 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.5738, allocations: 2.109 MB / 0.8548 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.5742, allocations: 393 kB / 0.8552 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.5749, allocations: 482.9 kB / 0.8557 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008578/0.5758, allocations: 470.2 kB / 0.8561 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.5759, allocations: 22.25 kB / 0.8561 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.5772, allocations: 0.9458 MB / 0.857 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.5774, allocations: 202.6 kB / 0.8572 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.5777, allocations: 320.6 kB / 0.8575 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.5788, allocations: 1.146 MB / 0.8587 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5788, allocations: 0 / 0.8587 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5788, allocations: 0 / 0.8587 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.5788, allocations: 0 / 0.8587 GB, free: 8.902 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.001084/0.5799, allocations: 0.7932 MB / 0.8594 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5799, allocations: 8.688 kB / 0.8594 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.522e-05/0.58, allocations: 82.5 kB / 0.8595 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.5812, allocations: 176 kB / 0.8597 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.5818, allocations: 0.5041 MB / 0.8602 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.5819, allocations: 36.72 kB / 0.8602 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.5819, allocations: 39.41 kB / 0.8603 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.5826, allocations: 475.7 kB / 0.8607 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5827, allocations: 4 kB / 0.8607 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.5827, allocations: 17.12 kB / 0.8607 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.5827, allocations: 18.77 kB / 0.8608 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.5833, allocations: 414.4 kB / 0.8611 GB, free: 7.133 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.0022/0.5855, allocations: 1.744 MB / 0.8629 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.586, allocations: 294.8 kB / 0.8631 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.5862, allocations: 178.3 kB / 0.8633 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.5864, allocations: 99.09 kB / 0.8634 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5864, allocations: 45.61 kB / 0.8634 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.5864, allocations: 0 / 0.8634 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001791/0.5882, allocations: 1.05 MB / 0.8645 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.5883, allocations: 54.22 kB / 0.8645 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.5887, allocations: 456.8 kB / 0.865 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.5888, allocations: 35.45 kB / 0.865 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.589, allocations: 260 kB / 0.8652 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.5891, allocations: 116.1 kB / 0.8653 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.5891, allocations: 32.58 kB / 0.8654 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5892, allocations: 357.6 kB / 0.8657 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.5894, allocations: 123.5 kB / 0.8658 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5897, allocations: 205.7 kB / 0.866 GB, free: 3.309 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.00182/0.5915, allocations: 0.8579 MB / 0.8669 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5915, allocations: 2.625 kB / 0.8669 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005557/0.5921, allocations: 417 kB / 0.8673 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5921, allocations: 5.094 kB / 0.8673 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5921, allocations: 7.297 kB / 0.8673 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5921, allocations: 2.594 kB / 0.8673 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.5924, allocations: 73.47 kB / 0.8674 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5924, allocations: 6.844 kB / 0.8674 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.5929, allocations: 30.75 kB / 0.8674 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.5929, allocations: 15.03 kB / 0.8674 GB, free: 2.531 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 sytem: 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.0002257/0.5931, allocations: 211.5 kB / 0.8676 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.5932, allocations: 52.41 kB / 0.8677 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.5934, allocations: 61.44 kB / 0.8677 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5934, allocations: 2.875 kB / 0.8677 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5934, allocations: 0 / 0.8677 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004451/0.5938, allocations: 412.6 kB / 0.8681 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.5954, allocations: 1.259 MB / 0.8693 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.5954, allocations: 4.938 kB / 0.8693 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.5958, allocations: 73.78 kB / 0.8694 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5958, allocations: 5.5 kB / 0.8694 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.5958, allocations: 9.75 kB / 0.8694 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.5958, allocations: 9.109 kB / 0.8694 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5958, allocations: 9.906 kB / 0.8694 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.5966, allocations: 0.7018 MB / 0.8701 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.5967, allocations: 165.2 kB / 0.8703 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.5968, allocations: 13.8 kB / 0.8703 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.5973, allocations: 39.73 kB / 0.8703 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.5973, allocations: 33.72 kB / 0.8704 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.5973, allocations: 24.78 kB / 0.8704 GB, free: 264 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003045/0.5977, allocations: 322.5 kB / 0.8707 GB, free: 64 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5977, allocations: 1.844 kB / 0.8707 GB, free: 64 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004835/0.5982, allocations: 142.9 kB / 0.8708 GB, free: 48 kB / 0.5762 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.001183/0.5993, allocations: 1.3 MB / 0.8721 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.5998, allocations: 325.3 kB / 0.8724 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5998, allocations: 6.875 kB / 0.8724 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.6, allocations: 152.8 kB / 0.8726 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.6019, allocations: 366.5 kB / 0.8729 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.607, allocations: 4.712 MB / 0.8775 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.6074, allocations: 0.8823 MB / 0.8784 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004431/0.6079, allocations: 132.6 kB / 0.8785 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.6081, allocations: 163.4 kB / 0.8787 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6081, allocations: 3.938 kB / 0.8787 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.517/2.125, allocations: 14.67 MB / 0.893 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/2.125, allocations: 265.2 kB / 0.8932 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/4.07, allocations: 0 / 0.8932 GB, free: 10.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)