Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.0007351/0.0007351, allocations: 93.73 kB / 16.02 MB, free: 84 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.0007585/0.0007585, allocations: 186.8 kB / 16.92 MB, free: 6.891 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.273/1.273, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6631/0.6631, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8.5 kB / 495.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1199, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4499/0.5698, allocations: 237.2 MB / 0.7917 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.5901, allocations: 15.91 MB / 0.8072 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.5923, allocations: 67.5 kB / 0.8073 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.5952, allocations: 1.022 MB / 0.8083 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009352/0.6045, allocations: 3.599 MB / 0.8118 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/0.6087, allocations: 1.637 MB / 0.8134 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008188/0.6169, allocations: 7.412 MB / 0.8206 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.6193, allocations: 1.383 MB / 0.822 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.6241, allocations: 2.303 MB / 0.8242 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.6276, allocations: 1.724 MB / 0.8259 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.628, allocations: 84 kB / 0.826 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.6332, allocations: 3.129 MB / 0.829 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000916/0.6341, allocations: 0.6853 MB / 0.8297 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.6358, allocations: 1.063 MB / 0.8307 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.2994/0.9352, allocations: 3.594 MB / 0.8343 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9353, allocations: 0.6562 kB / 0.8343 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9353, allocations: 0 / 0.8343 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.055e-05/0.9353, allocations: 0.6562 kB / 0.8343 GB, free: 14.61 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003675/0.939, allocations: 2.11 MB / 0.8363 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.939, allocations: 11.03 kB / 0.8363 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002734/0.9393, allocations: 216.6 kB / 0.8365 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.9422, allocations: 0.5039 MB / 0.837 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.9441, allocations: 1.277 MB / 0.8383 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.9443, allocations: 177.2 kB / 0.8384 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.9445, allocations: 154.9 kB / 0.8386 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.9475, allocations: 1.747 MB / 0.8403 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.9475, allocations: 1.688 kB / 0.8403 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.9477, allocations: 68.22 kB / 0.8404 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-05/0.9478, allocations: 62.33 kB / 0.8404 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.9504, allocations: 1.392 MB / 0.8418 GB, free: 12.71 MB / 0.6387 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.007419/0.9578, allocations: 8.212 MB / 0.8498 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.9593, allocations: 0.9114 MB / 0.8507 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008676/0.9602, allocations: 0.5444 MB / 0.8512 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005367/0.9607, allocations: 344.1 kB / 0.8515 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.9608, allocations: 46.38 kB / 0.8516 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=96): time 2.435e-06/0.9608, allocations: 1.156 kB / 0.8516 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.006661/0.9675, allocations: 3.172 MB / 0.8547 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.9675, allocations: 62.62 kB / 0.8548 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.969, allocations: 1.263 MB / 0.856 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.9691, allocations: 48.17 kB / 0.856 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.9695, allocations: 0.8219 MB / 0.8568 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.9698, allocations: 363.6 kB / 0.8572 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.9699, allocations: 101.5 kB / 0.8573 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000277/0.9702, allocations: 357 kB / 0.8576 GB, free: 21.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/0.9709, allocations: 447.2 kB / 0.858 GB, free: 21.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/0.9719, allocations: 0.8376 MB / 0.8589 GB, free: 21.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.9738, allocations: 1.266 MB / 0.8601 GB, free: 20.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9738, allocations: 7.125 kB / 0.8601 GB, free: 20.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002285/0.9761, allocations: 1.422 MB / 0.8615 GB, free: 20.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.9763, allocations: 366.9 kB / 0.8618 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.9763, allocations: 10.56 kB / 0.8619 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.9763, allocations: 15.47 kB / 0.8619 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.9774, allocations: 280.2 kB / 0.8621 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.9775, allocations: 21.95 kB / 0.8622 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.9792, allocations: 175.8 kB / 0.8623 GB, free: 20.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.9793, allocations: 53.97 kB / 0.8624 GB, free: 20.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.9793, allocations: 4.844 kB / 0.8624 GB, free: 20.35 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001999/0.9813, allocations: 1.239 MB / 0.8636 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.9814, allocations: 10.25 kB / 0.8636 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9814, allocations: 17.5 kB / 0.8636 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.9824, allocations: 280.7 kB / 0.8639 GB, free: 20.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.9825, allocations: 22.23 kB / 0.8639 GB, free: 20.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.984, allocations: 182.8 kB / 0.8641 GB, free: 20.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/0.9841, allocations: 52 kB / 0.8641 GB, free: 20.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.000852/0.985, allocations: 0.5033 MB / 0.8646 GB, free: 20.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.9852, allocations: 168.9 kB / 0.8648 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.9871, allocations: 1.177 MB / 0.8659 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.9871, allocations: 14.25 kB / 0.8659 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9872, allocations: 0 / 0.8659 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/0.9886, allocations: 1.1 MB / 0.867 GB, free: 19.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.9928, allocations: 2.805 MB / 0.8698 GB, free: 19.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9929, allocations: 0 / 0.8698 GB, free: 19.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.994, allocations: 249.4 kB / 0.87 GB, free: 19.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.994, allocations: 14.22 kB / 0.87 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.9941, allocations: 28.66 kB / 0.87 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.9941, allocations: 9.359 kB / 0.87 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9941, allocations: 2.375 kB / 0.87 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.9965, allocations: 1.79 MB / 0.8718 GB, free: 18.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.997, allocations: 336.5 kB / 0.8721 GB, free: 18.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.9972, allocations: 30.27 kB / 0.8721 GB, free: 18.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.9985, allocations: 142.5 kB / 0.8723 GB, free: 18.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.9986, allocations: 62.16 kB / 0.8723 GB, free: 18.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.9987, allocations: 39.56 kB / 0.8724 GB, free: 18.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009888/0.9997, allocations: 0.8472 MB / 0.8732 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9997, allocations: 0 / 0.8732 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001854/1.002, allocations: 0.7633 MB / 0.874 GB, free: 18.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.003151/1.005, allocations: 2.523 MB / 0.8764 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002637/1.007, allocations: 1.761 MB / 0.8781 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.007, allocations: 6.062 kB / 0.8781 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/1.008, allocations: 0.5231 MB / 0.8787 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/1.013, allocations: 0.9656 MB / 0.8796 GB, free: 17.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.03, allocations: 13.95 MB / 0.8932 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/1.031, allocations: 1.446 MB / 0.8946 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002027/1.033, allocations: 0.5547 MB / 0.8952 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/1.034, allocations: 0.6911 MB / 0.8958 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/1.034, allocations: 0 / 0.8958 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8618/1.895, allocations: 43.33 MB / 0.9382 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.896, allocations: 234.8 kB / 0.9384 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/4.634, allocations: 5.859 kB / 0.9384 GB, free: 12.41 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)