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.001339/0.001339, allocations: 101.8 kB / 16.52 MB, free: 6.656 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.001183/0.001183, allocations: 196.8 kB / 17.44 MB, free: 6.047 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7285/0.7285, allocations: 115.3 MB / 406.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 67.89 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3952, allocations: 76.17 MB / 0.5564 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5999/0.9952, allocations: 240.5 MB / 0.7912 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02134/1.017, allocations: 16.09 MB / 0.8069 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004129/1.021, allocations: 76.88 kB / 0.807 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003931/1.025, allocations: 1.021 MB / 0.808 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.036, allocations: 3.594 MB / 0.8115 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005555/1.041, allocations: 1.627 MB / 0.8131 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009558/1.051, allocations: 7.427 MB / 0.8203 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/1.054, allocations: 1.417 MB / 0.8217 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006858/1.061, allocations: 2.342 MB / 0.824 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005049/1.066, allocations: 1.78 MB / 0.8257 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008669/1.067, allocations: 99.78 kB / 0.8258 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008302/1.075, allocations: 3.147 MB / 0.8289 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/1.077, allocations: 0.7039 MB / 0.8296 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002318/1.079, allocations: 1.073 MB / 0.8306 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/1.084, allocations: 2.605 MB / 0.8332 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.084, allocations: 6.625 kB / 0.8332 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/1.084, allocations: 0 / 0.8332 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.007e-05/1.084, allocations: 0 / 0.8332 GB, free: 13.4 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.005044/1.089, allocations: 2.495 MB / 0.8356 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.089, allocations: 15.72 kB / 0.8356 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/1.092, allocations: 0.5033 MB / 0.8361 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/1.095, allocations: 1.274 MB / 0.8374 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.095, allocations: 173.8 kB / 0.8375 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.095, allocations: 151.5 kB / 0.8377 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.098, allocations: 1.739 MB / 0.8394 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/1.098, allocations: 5.406 kB / 0.8394 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/1.099, allocations: 64.3 kB / 0.8394 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.137e-05/1.099, allocations: 63.16 kB / 0.8395 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/1.101, allocations: 1.385 MB / 0.8409 GB, free: 9.797 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.01014/1.111, allocations: 8.183 MB / 0.8488 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/1.113, allocations: 0.9035 MB / 0.8497 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/1.114, allocations: 0.5328 MB / 0.8503 GB, free: 108 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/1.114, allocations: 326.7 kB / 0.8506 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.114, allocations: 47.55 kB / 0.8506 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.925e-06/1.114, allocations: 3.938 kB / 0.8506 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.007807/1.122, allocations: 3.122 MB / 0.8537 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/1.122, allocations: 64.41 kB / 0.8537 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/1.124, allocations: 1.258 MB / 0.855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.125, allocations: 49.7 kB / 0.855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/1.125, allocations: 0.8142 MB / 0.8558 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/1.126, allocations: 363.2 kB / 0.8561 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/1.126, allocations: 230.8 kB / 0.8564 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.126, allocations: 353.9 kB / 0.8567 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/1.127, allocations: 449.8 kB / 0.8571 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.128, allocations: 0.8272 MB / 0.8579 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/1.13, allocations: 1.249 MB / 0.8592 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/1.13, allocations: 3.938 kB / 0.8592 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002681/1.133, allocations: 1.408 MB / 0.8605 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.133, allocations: 11.94 kB / 0.8605 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.133, allocations: 12.12 kB / 0.8606 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/1.133, allocations: 16 kB / 0.8606 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.134, allocations: 281.8 kB / 0.8608 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.092e-05/1.134, allocations: 17.06 kB / 0.8609 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.136, allocations: 175.7 kB / 0.861 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.136, allocations: 55.98 kB / 0.8611 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/1.138, allocations: 0.764 MB / 0.8618 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/1.139, allocations: 0.8194 MB / 0.8626 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001953/1.141, allocations: 1.238 MB / 0.8638 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.972e-06/1.141, allocations: 4 kB / 0.8638 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002607/1.143, allocations: 1.396 MB / 0.8652 GB, free: 264 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.143, allocations: 8 kB / 0.8652 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.143, allocations: 15.94 kB / 0.8652 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.143, allocations: 15.94 kB / 0.8652 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.145, allocations: 269.7 kB / 0.8655 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.309e-05/1.145, allocations: 22.52 kB / 0.8655 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.146, allocations: 175.7 kB / 0.8657 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.147, allocations: 52 kB / 0.8657 GB, free: 15.73 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.0003825/1.147, allocations: 262 kB / 0.866 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/1.147, allocations: 172.6 kB / 0.8661 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/1.15, allocations: 1.154 MB / 0.8673 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.15, allocations: 8 kB / 0.8673 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.15, allocations: 0 / 0.8673 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001714/1.152, allocations: 1.082 MB / 0.8683 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/1.157, allocations: 2.791 MB / 0.8711 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.157, allocations: 0 / 0.8711 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.158, allocations: 250.2 kB / 0.8713 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/1.158, allocations: 4 kB / 0.8713 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.924e-05/1.158, allocations: 27.98 kB / 0.8713 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/1.158, allocations: 8 kB / 0.8713 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.158, allocations: 6.562 kB / 0.8713 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/1.162, allocations: 1.768 MB / 0.8731 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/1.163, allocations: 327.1 kB / 0.8734 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/1.163, allocations: 28.17 kB / 0.8734 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.165, allocations: 140.8 kB / 0.8735 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.165, allocations: 75.31 kB / 0.8736 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/1.165, allocations: 39.98 kB / 0.8737 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001453/1.166, allocations: 0.8426 MB / 0.8745 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/1.166, allocations: 3.938 kB / 0.8745 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002916/1.169, allocations: 0.7695 MB / 0.8752 GB, free: 5.879 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.0007558/1.17, allocations: 272.4 kB / 0.8755 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003497/1.174, allocations: 1.73 MB / 0.8772 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.174, allocations: 4 kB / 0.8772 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009487/1.175, allocations: 0.5135 MB / 0.8777 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005271/1.18, allocations: 0.9616 MB / 0.8786 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007189/1.187, allocations: 4.26 MB / 0.8828 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.188, allocations: 1.438 MB / 0.8842 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/1.189, allocations: 135.4 kB / 0.8843 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/1.189, allocations: 4 kB / 0.8843 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of Templates: time 0.04241/1.231, allocations: 26.79 MB / 0.9105 GB, free: 2.094 MB / 0.6544 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)