Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.565/1.565, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.1 MB / 0.572 GB, free: 10.6 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.000995/0.0009951, allocations: 94.52 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.239e-05/5.268e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.222/6.511, allocations: 2.205 GB / 3.097 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/6.511, allocations: 91.94 kB / 3.097 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.154/11.67, allocations: 1.301 GB / 4.397 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.724e-06/11.67, allocations: 0 / 4.397 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001726/11.67, allocations: 57 kB / 4.397 GB, free: 111.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006554/11.67, allocations: 2.193 MB / 4.399 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/11.67, allocations: 12.64 kB / 4.399 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004399/11.67, allocations: 214.6 kB / 4.4 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/11.68, allocations: 0.5009 MB / 4.4 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/11.68, allocations: 1.442 MB / 4.401 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/11.68, allocations: 179.4 kB / 4.402 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/11.68, allocations: 154.7 kB / 4.402 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/11.68, allocations: 1.643 MB / 4.403 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/11.68, allocations: 7.031 kB / 4.403 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/11.68, allocations: 62.84 kB / 4.403 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/11.68, allocations: 59.78 kB / 4.404 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/11.69, allocations: 1.282 MB / 4.405 GB, free: 109.6 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.009886/11.7, allocations: 7.693 MB / 4.412 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/11.7, allocations: 0.9024 MB / 4.413 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/11.7, allocations: 0.5091 MB / 4.414 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/11.7, allocations: 321.5 kB / 4.414 GB, free: 105 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/11.7, allocations: 48.03 kB / 4.414 GB, free: 105 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 3.647e-06/11.7, allocations: 0 / 4.414 GB, free: 105 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.00632/11.7, allocations: 2.715 MB / 4.417 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/11.7, allocations: 66.16 kB / 4.417 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/11.71, allocations: 1.062 MB / 4.418 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/11.71, allocations: 49.55 kB / 4.418 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/11.71, allocations: 0.7976 MB / 4.419 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/11.71, allocations: 402.7 kB / 4.419 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/11.71, allocations: 27.25 kB / 4.419 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/11.71, allocations: 356.9 kB / 4.419 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/11.71, allocations: 405.5 kB / 4.42 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/11.71, allocations: 0.7775 MB / 4.421 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/11.71, allocations: 0.535 MB / 4.421 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/11.71, allocations: 6.219 kB / 4.421 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002074/11.71, allocations: 1.337 MB / 4.422 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007124/11.71, allocations: 3.125 MB / 4.425 GB, free: 99.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/11.71, allocations: 6.656 kB / 4.425 GB, free: 99.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/11.71, allocations: 17.19 kB / 4.425 GB, free: 99.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/11.71, allocations: 290.5 kB / 4.426 GB, free: 99.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/11.71, allocations: 21.95 kB / 4.426 GB, free: 99.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/11.72, allocations: 182.1 kB / 4.426 GB, free: 99.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/11.72, allocations: 53.3 kB / 4.426 GB, free: 99.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/11.72, allocations: 3.094 kB / 4.426 GB, free: 99.45 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/11.72, allocations: 1.16 MB / 4.427 GB, free: 99.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/11.72, allocations: 9.875 kB / 4.427 GB, free: 99.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/11.72, allocations: 15.44 kB / 4.427 GB, free: 99.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/11.72, allocations: 290.1 kB / 4.427 GB, free: 99.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/11.72, allocations: 14.81 kB / 4.427 GB, free: 99.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/11.72, allocations: 174.2 kB / 4.428 GB, free: 99.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.569e-05/11.72, allocations: 54.64 kB / 4.428 GB, free: 99.41 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0003705/11.72, allocations: 192.1 kB / 4.428 GB, free: 99.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/11.72, allocations: 163.4 kB / 4.428 GB, free: 99.21 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/11.72, allocations: 1.151 MB / 4.429 GB, free: 99.12 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/11.72, allocations: 8.281 kB / 4.429 GB, free: 99.12 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/11.72, allocations: 3.75 kB / 4.429 GB, free: 99.12 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/11.72, allocations: 1.056 MB / 4.43 GB, free: 98.85 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/11.73, allocations: 2.809 MB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/11.73, allocations: 2.594 kB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/11.73, allocations: 275.8 kB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/11.73, allocations: 9.531 kB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/11.73, allocations: 31.44 kB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/11.73, allocations: 6.812 kB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/11.73, allocations: 4.844 kB / 4.433 GB, free: 98.45 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/11.73, allocations: 1.882 MB / 4.435 GB, free: 97.99 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/11.73, allocations: 355.4 kB / 4.435 GB, free: 97.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/11.73, allocations: 31.19 kB / 4.435 GB, free: 97.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/11.74, allocations: 155.3 kB / 4.436 GB, free: 97.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/11.74, allocations: 75.5 kB / 4.436 GB, free: 97.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/11.74, allocations: 41.77 kB / 4.436 GB, free: 97.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001128/11.74, allocations: 0.8167 MB / 4.436 GB, free: 97.68 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.1e-07/11.74, allocations: 0 / 4.436 GB, free: 97.68 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003502/11.74, allocations: 1.095 MB / 4.438 GB, free: 97.66 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 111 * 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.008499/11.75, allocations: 5.808 MB / 4.443 GB, free: 95.04 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004343/11.75, allocations: 1.722 MB / 4.445 GB, free: 95 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/11.75, allocations: 0 / 4.445 GB, free: 95 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009934/11.75, allocations: 0.5115 MB / 4.445 GB, free: 95 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006697/11.76, allocations: 0.9531 MB / 4.446 GB, free: 94.97 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/11.77, allocations: 3.465 MB / 4.45 GB, free: 94.13 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/11.77, allocations: 1.497 MB / 4.451 GB, free: 93.41 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002776/11.77, allocations: 0.6887 MB / 4.452 GB, free: 93.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007888/11.77, allocations: 0.6801 MB / 4.452 GB, free: 93.38 MB / 0.9011 GB Notification: Performance of SimCode: time 1.804e-06/11.77, allocations: 0 / 4.452 GB, free: 93.38 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/11.92, allocations: 96.16 MB / 4.546 GB, free: 33.87 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/11.92, allocations: 210.8 kB / 4.547 GB, free: 33.64 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.07/17.99, allocations: 7.938 kB / 4.547 GB, free: 33.63 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)