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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 102.2 kB / 15.98 MB, free: 6.348 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.001169/0.001169, allocations: 195.2 kB / 16.91 MB, free: 6.191 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: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 122.9 MB / 413.6 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4065, allocations: 77.92 MB / 0.5667 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5908/0.9974, allocations: 239.7 MB / 0.8008 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02047/1.018, allocations: 15.85 MB / 0.8163 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/1.021, allocations: 74.69 kB / 0.8163 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/1.024, allocations: 1.048 MB / 0.8174 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009173/1.033, allocations: 3.585 MB / 0.8209 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/1.038, allocations: 1.656 MB / 0.8225 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00721/1.045, allocations: 5.264 MB / 0.8276 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/1.048, allocations: 1.622 MB / 0.8292 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006111/1.054, allocations: 2.605 MB / 0.8318 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004115/1.059, allocations: 1.825 MB / 0.8335 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000766/1.059, allocations: 174.8 kB / 0.8337 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006249/1.066, allocations: 2.828 MB / 0.8365 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001672/1.067, allocations: 0.775 MB / 0.8372 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002931/1.07, allocations: 1.149 MB / 0.8383 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007171/1.077, allocations: 3.717 MB / 0.842 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.077, allocations: 2.75 kB / 0.842 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/1.077, allocations: 0 / 0.842 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.579e-05/1.077, allocations: 0 / 0.842 GB, free: 12.38 MB / 0.5919 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.004483/1.082, allocations: 2.499 MB / 0.8444 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/1.082, allocations: 8.469 kB / 0.8444 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/1.085, allocations: 0.5037 MB / 0.8449 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/1.087, allocations: 1.269 MB / 0.8462 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/1.087, allocations: 187 kB / 0.8463 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.087, allocations: 158 kB / 0.8465 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/1.09, allocations: 1.738 MB / 0.8482 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/1.09, allocations: 2.531 kB / 0.8482 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/1.09, allocations: 60 kB / 0.8482 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/1.09, allocations: 62.69 kB / 0.8483 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/1.093, allocations: 1.376 MB / 0.8497 GB, free: 6.609 MB / 0.5919 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.009037/1.102, allocations: 8.194 MB / 0.8577 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.103, allocations: 0.8999 MB / 0.8585 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/1.104, allocations: 0.5457 MB / 0.8591 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/1.105, allocations: 326.5 kB / 0.8594 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.105, allocations: 43.56 kB / 0.8594 GB, free: 12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.695e-06/1.105, allocations: 0 / 0.8594 GB, free: 12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.007001/1.112, allocations: 3.109 MB / 0.8625 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.112, allocations: 68.41 kB / 0.8625 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.114, allocations: 1.258 MB / 0.8637 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/1.114, allocations: 49.7 kB / 0.8638 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/1.114, allocations: 0.8183 MB / 0.8646 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000308/1.115, allocations: 368.3 kB / 0.8649 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.115, allocations: 222.8 kB / 0.8652 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.115, allocations: 357.9 kB / 0.8655 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/1.116, allocations: 449.8 kB / 0.8659 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.117, allocations: 0.8264 MB / 0.8667 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.119, allocations: 1.252 MB / 0.868 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.119, allocations: 3.938 kB / 0.868 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002436/1.121, allocations: 1.408 MB / 0.8693 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.122, allocations: 8.188 kB / 0.8693 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.122, allocations: 12 kB / 0.8694 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.122, allocations: 19.98 kB / 0.8694 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.123, allocations: 273.7 kB / 0.8696 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/1.123, allocations: 18.52 kB / 0.8697 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.125, allocations: 179.6 kB / 0.8698 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/1.125, allocations: 54.62 kB / 0.8699 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001341/1.126, allocations: 0.7679 MB / 0.8706 GB, free: 252 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001139/1.127, allocations: 0.8232 MB / 0.8714 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001861/1.129, allocations: 1.234 MB / 0.8726 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/1.129, allocations: 0 / 0.8726 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002466/1.132, allocations: 1.391 MB / 0.874 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.132, allocations: 8 kB / 0.874 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.132, allocations: 12 kB / 0.874 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.132, allocations: 12 kB / 0.874 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.133, allocations: 277.7 kB / 0.8743 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.133, allocations: 22.52 kB / 0.8743 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.134, allocations: 179.7 kB / 0.8745 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/1.135, allocations: 51.98 kB / 0.8745 GB, free: 12.06 MB / 0.6231 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.0003412/1.135, allocations: 262.3 kB / 0.8748 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/1.135, allocations: 166 kB / 0.8749 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/1.137, allocations: 1.149 MB / 0.8761 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/1.137, allocations: 8 kB / 0.8761 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.137, allocations: 0 / 0.8761 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/1.139, allocations: 1.082 MB / 0.8771 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/1.144, allocations: 2.799 MB / 0.8799 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.144, allocations: 224 / 0.8799 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.145, allocations: 250.4 kB / 0.8801 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/1.145, allocations: 4 kB / 0.8801 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/1.145, allocations: 27.98 kB / 0.8801 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.145, allocations: 10.62 kB / 0.8801 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.145, allocations: 0 / 0.8801 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/1.148, allocations: 1.768 MB / 0.8819 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006798/1.149, allocations: 339 kB / 0.8822 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.149, allocations: 28.19 kB / 0.8822 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.15, allocations: 139.7 kB / 0.8824 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.15, allocations: 67.48 kB / 0.8824 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/1.15, allocations: 43.97 kB / 0.8825 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001117/1.152, allocations: 0.8387 MB / 0.8833 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.152, allocations: 0 / 0.8833 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001946/1.154, allocations: 0.7695 MB / 0.884 GB, free: 2.211 MB / 0.6231 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.0005743/1.154, allocations: 276.7 kB / 0.8843 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00383/1.158, allocations: 2.008 MB / 0.8863 GB, free: 40 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.158, allocations: 0 / 0.8863 GB, free: 40 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/1.159, allocations: 0.5206 MB / 0.8868 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.163, allocations: 0.9135 MB / 0.8877 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/1.168, allocations: 4.163 MB / 0.8917 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/1.169, allocations: 1.445 MB / 0.8931 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002058/1.171, allocations: 0.56 MB / 0.8937 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.172, allocations: 123.4 kB / 0.8938 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/1.172, allocations: 0 / 0.8938 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of Templates: time 0.04959/1.221, allocations: 30.93 MB / 0.924 GB, free: 9.922 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)