Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 183.1 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 84.42 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 12.88 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.251, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1738/0.4248, allocations: 155.3 MB / 1.052 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.4316, allocations: 3.248 MB / 1.055 GB, free: 0.793 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.4326, allocations: 15.88 kB / 1.055 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009529/0.4336, allocations: 226.6 kB / 1.055 GB, free: 0.5547 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.6262/1.06, allocations: 0.7664 MB / 1.056 GB, free: 4.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/1.062, allocations: 0.4972 MB / 1.057 GB, free: 4.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002382/1.064, allocations: 1.884 MB / 1.058 GB, free: 4.594 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006379/1.065, allocations: 378.6 kB / 1.059 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/1.066, allocations: 0.505 MB / 1.059 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007516/1.067, allocations: 464.9 kB / 1.06 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/1.067, allocations: 21.78 kB / 1.06 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/1.068, allocations: 433.3 kB / 1.06 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/1.068, allocations: 215.9 kB / 1.06 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/1.068, allocations: 151.6 kB / 1.061 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/1.07, allocations: 0.8124 MB / 1.061 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.07, allocations: 0 / 1.061 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/1.07, allocations: 2.781 kB / 1.061 GB, free: 4.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.226e-05/1.07, allocations: 0 / 1.061 GB, free: 4.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001833/1.072, allocations: 0.8032 MB / 1.062 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.072, allocations: 14.47 kB / 1.062 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/1.072, allocations: 85.89 kB / 1.062 GB, free: 19.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.073, allocations: 180.1 kB / 1.062 GB, free: 19.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/1.074, allocations: 492.3 kB / 1.063 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/1.074, allocations: 30.09 kB / 1.063 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/1.074, allocations: 50.34 kB / 1.063 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/1.075, allocations: 492.2 kB / 1.063 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/1.075, allocations: 5.953 kB / 1.063 GB, free: 19.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/1.075, allocations: 21.06 kB / 1.063 GB, free: 19.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/1.075, allocations: 20.78 kB / 1.063 GB, free: 19.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/1.076, allocations: 411.2 kB / 1.064 GB, free: 19.57 MB / 0.7136 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.003139/1.079, allocations: 1.885 MB / 1.066 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/1.079, allocations: 211.4 kB / 1.066 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/1.08, allocations: 148.6 kB / 1.066 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/1.08, allocations: 98.7 kB / 1.066 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.08, allocations: 45.23 kB / 1.066 GB, free: 18.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/1.08, allocations: 0 / 1.066 GB, free: 18.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0009491/1.081, allocations: 385.4 kB / 1.067 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.081, allocations: 57.88 kB / 1.067 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/1.082, allocations: 0.4975 MB / 1.067 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/1.082, allocations: 32.42 kB / 1.067 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/1.082, allocations: 276.2 kB / 1.067 GB, free: 18.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/1.082, allocations: 85.55 kB / 1.067 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/1.082, allocations: 6.25 kB / 1.067 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.082, allocations: 359.6 kB / 1.068 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/1.082, allocations: 107.7 kB / 1.068 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/1.083, allocations: 209 kB / 1.068 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/1.083, allocations: 148.8 kB / 1.068 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.083, allocations: 4.594 kB / 1.068 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007156/1.084, allocations: 395.1 kB / 1.069 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.084, allocations: 10.34 kB / 1.069 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.084, allocations: 6.266 kB / 1.069 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.084, allocations: 5.062 kB / 1.069 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/1.084, allocations: 68.47 kB / 1.069 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.084, allocations: 4.703 kB / 1.069 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/1.085, allocations: 51.88 kB / 1.069 GB, free: 17.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/1.085, allocations: 19.91 kB / 1.069 GB, free: 17.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003053/1.085, allocations: 211 kB / 1.069 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.085, allocations: 49.59 kB / 1.069 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.085, allocations: 53.62 kB / 1.069 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.085, allocations: 6.297 kB / 1.069 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.085, allocations: 0.7812 kB / 1.069 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000474/1.086, allocations: 337 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.087, allocations: 0.9727 MB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/1.087, allocations: 5.797 kB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/1.088, allocations: 59.22 kB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.088, allocations: 6.797 kB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/1.088, allocations: 8.344 kB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.088, allocations: 7.531 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.088, allocations: 1.688 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/1.089, allocations: 0.544 MB / 1.071 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.089, allocations: 174.8 kB / 1.071 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/1.089, allocations: 7.891 kB / 1.071 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/1.089, allocations: 32.95 kB / 1.071 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/1.089, allocations: 26 kB / 1.071 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/1.09, allocations: 12.95 kB / 1.071 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005606/1.09, allocations: 363.1 kB / 1.072 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.09, allocations: 0 / 1.072 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008005/1.091, allocations: 160.2 kB / 1.072 GB, free: 16.47 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/1.092, allocations: 1.155 MB / 1.073 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006103/1.093, allocations: 271.1 kB / 1.073 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.093, allocations: 1.438 kB / 1.073 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/1.093, allocations: 117 kB / 1.073 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.095, allocations: 328.3 kB / 1.074 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/1.1, allocations: 3.005 MB / 1.076 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/1.101, allocations: 0.8822 MB / 1.077 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007218/1.101, allocations: 131 kB / 1.077 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.102, allocations: 168.2 kB / 1.078 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.663e-06/1.102, allocations: 4 kB / 1.078 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/1.136, allocations: 14.78 MB / 1.092 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/1.136, allocations: 242.8 kB / 1.092 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.607, allocations: 2.672 kB / 1.092 GB, free: 12.52 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)