Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.006347/0.006347, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001422/0.001422, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 294.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9593/0.9593, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 95.86 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4447, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6633/1.108, allocations: 242.4 MB / 1.003 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02153/1.13, allocations: 15.91 MB / 1.019 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/1.134, allocations: 74 kB / 1.019 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003593/1.137, allocations: 1.177 MB / 1.02 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/1.148, allocations: 3.821 MB / 1.024 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/1.153, allocations: 1.815 MB / 1.025 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006703/1.16, allocations: 5.253 MB / 1.03 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/1.162, allocations: 1.678 MB / 1.032 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005833/1.168, allocations: 2.643 MB / 1.035 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003495/1.171, allocations: 1.714 MB / 1.036 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003184/1.172, allocations: 176.2 kB / 1.037 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/1.177, allocations: 2.709 MB / 1.039 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007188/1.178, allocations: 0.7727 MB / 1.04 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/1.179, allocations: 1.144 MB / 1.041 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006144/1.185, allocations: 3.567 MB / 1.045 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.185, allocations: 1.062 kB / 1.045 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/1.185, allocations: 0 / 1.045 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.793e-05/1.185, allocations: 2.344 kB / 1.045 GB, free: 15.59 MB / 0.7325 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.004431/1.19, allocations: 2.498 MB / 1.047 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.19, allocations: 7.969 kB / 1.047 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/1.193, allocations: 0.5112 MB / 1.047 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.195, allocations: 1.361 MB / 1.049 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.196, allocations: 172.4 kB / 1.049 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.196, allocations: 155.8 kB / 1.049 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/1.199, allocations: 1.737 MB / 1.051 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.199, allocations: 5.125 kB / 1.051 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/1.199, allocations: 62.61 kB / 1.051 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/1.199, allocations: 63.92 kB / 1.051 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/1.202, allocations: 1.379 MB / 1.052 GB, free: 11.54 MB / 0.7325 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.00931/1.211, allocations: 8.203 MB / 1.06 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.212, allocations: 0.9009 MB / 1.061 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/1.213, allocations: 0.5338 MB / 1.062 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/1.214, allocations: 329.2 kB / 1.062 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/1.214, allocations: 51.53 kB / 1.062 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/1.214, allocations: 0 / 1.062 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.006511/1.22, allocations: 3.121 MB / 1.065 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.22, allocations: 60.41 kB / 1.065 GB, free: 468 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/1.222, allocations: 1.261 MB / 1.066 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.217e-05/1.222, allocations: 53.7 kB / 1.066 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/1.223, allocations: 0.8119 MB / 1.067 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/1.223, allocations: 366.6 kB / 1.068 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.223, allocations: 226.8 kB / 1.068 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.223, allocations: 356.5 kB / 1.068 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/1.224, allocations: 449.8 kB / 1.069 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.225, allocations: 0.8232 MB / 1.069 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/1.227, allocations: 1.25 MB / 1.071 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.227, allocations: 7.938 kB / 1.071 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002374/1.229, allocations: 1.41 MB / 1.072 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.229, allocations: 8 kB / 1.072 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.229, allocations: 8 kB / 1.072 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.229, allocations: 16 kB / 1.072 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.231, allocations: 281.8 kB / 1.072 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/1.231, allocations: 18.53 kB / 1.072 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.232, allocations: 72.19 kB / 1.072 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/1.232, allocations: 48 kB / 1.072 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00139/1.233, allocations: 0.7742 MB / 1.073 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001058/1.234, allocations: 0.8179 MB / 1.074 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001784/1.236, allocations: 1.234 MB / 1.075 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/1.236, allocations: 4 kB / 1.075 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002228/1.238, allocations: 1.389 MB / 1.077 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.238, allocations: 15.92 kB / 1.077 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.239, allocations: 10.62 kB / 1.077 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.239, allocations: 20.06 kB / 1.077 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.24, allocations: 269.7 kB / 1.077 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/1.24, allocations: 22.52 kB / 1.077 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.241, allocations: 67.95 kB / 1.077 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/1.241, allocations: 51.98 kB / 1.077 GB, free: 3.965 MB / 0.7481 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.0003012/1.241, allocations: 266 kB / 1.077 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.242, allocations: 166 kB / 1.077 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.244, allocations: 1.153 MB / 1.079 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.244, allocations: 12 kB / 1.079 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.244, allocations: 0 / 1.079 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/1.245, allocations: 1.086 MB / 1.08 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/1.25, allocations: 2.783 MB / 1.082 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.25, allocations: 6.531 kB / 1.082 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.251, allocations: 246.3 kB / 1.083 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.251, allocations: 4 kB / 1.083 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/1.251, allocations: 31.98 kB / 1.083 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/1.251, allocations: 7.938 kB / 1.083 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.251, allocations: 4 kB / 1.083 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/1.254, allocations: 1.776 MB / 1.084 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/1.255, allocations: 339 kB / 1.085 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.255, allocations: 24 kB / 1.085 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.256, allocations: 57.19 kB / 1.085 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.256, allocations: 67.44 kB / 1.085 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/1.256, allocations: 43.98 kB / 1.085 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001229/1.257, allocations: 0.8387 MB / 1.086 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.91e-07/1.257, allocations: 0 / 1.086 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002396/1.26, allocations: 0.7617 MB / 1.086 GB, free: 10.19 MB / 0.7637 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.0006883/1.261, allocations: 281.1 kB / 1.087 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00309/1.264, allocations: 1.738 MB / 1.088 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.264, allocations: 4 kB / 1.088 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/1.265, allocations: 0.5123 MB / 1.089 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/1.269, allocations: 0.9195 MB / 1.09 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/1.274, allocations: 3.449 MB / 1.093 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/1.275, allocations: 1.445 MB / 1.095 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00178/1.277, allocations: 0.556 MB / 1.095 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/1.277, allocations: 127.4 kB / 1.095 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of SimCode: time 6.91e-07/1.277, allocations: 0 / 1.095 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of Templates: time 0.06626/1.343, allocations: 31.47 MB / 1.126 GB, free: 2.348 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)