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.001083/0.001083, allocations: 95.33 kB / 15.68 MB, free: 488 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.001352/0.001352, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.332/1.332, allocations: 223.2 MB / 240.5 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6684/0.6684, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 77.14 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4605/0.5964, allocations: 198.8 MB / 0.7509 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.6164, allocations: 14.77 MB / 0.7654 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.6184, allocations: 67.5 kB / 0.7654 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.6214, allocations: 1.069 MB / 0.7665 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009943/0.6314, allocations: 3.525 MB / 0.7699 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.6362, allocations: 1.739 MB / 0.7716 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005238/0.6415, allocations: 3.067 MB / 0.7746 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.6436, allocations: 1.297 MB / 0.7759 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.6474, allocations: 1.815 MB / 0.7777 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.6489, allocations: 1.109 MB / 0.7787 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.6492, allocations: 84 kB / 0.7788 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.6523, allocations: 1.248 MB / 0.78 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006997/0.6531, allocations: 0.6194 MB / 0.7806 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000623/0.6537, allocations: 440.6 kB / 0.7811 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.6566, allocations: 2.283 MB / 0.7833 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6566, allocations: 0 / 0.7833 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6566, allocations: 0 / 0.7833 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.199e-05/0.6566, allocations: 0 / 0.7833 GB, free: 1.883 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.003861/0.6605, allocations: 2.098 MB / 0.7853 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6605, allocations: 8.031 kB / 0.7853 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.6635, allocations: 0.5048 MB / 0.7858 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.6659, allocations: 1.215 MB / 0.787 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.6661, allocations: 182.2 kB / 0.7872 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.6663, allocations: 148 kB / 0.7873 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.6693, allocations: 1.733 MB / 0.789 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.6693, allocations: 0 / 0.789 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.6695, allocations: 60 kB / 0.7891 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-05/0.6695, allocations: 66.64 kB / 0.7892 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.6721, allocations: 1.388 MB / 0.7905 GB, free: 10.28 MB / 0.6075 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.009233/0.6813, allocations: 8.194 MB / 0.7985 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.6829, allocations: 0.9209 MB / 0.7994 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.6833, allocations: 158.2 kB / 0.7996 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6834, allocations: 47.56 kB / 0.7996 GB, free: 240 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.795e-06/0.6834, allocations: 0 / 0.7996 GB, free: 240 kB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.006745/0.6901, allocations: 3.18 MB / 0.8027 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.6902, allocations: 60.41 kB / 0.8028 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.6916, allocations: 1.25 MB / 0.804 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/0.6917, allocations: 49.7 kB / 0.804 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/0.6923, allocations: 0.8055 MB / 0.8048 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.6926, allocations: 374.7 kB / 0.8052 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.6926, allocations: 24 kB / 0.8052 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6927, allocations: 349.9 kB / 0.8055 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/0.6935, allocations: 438.4 kB / 0.806 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.6946, allocations: 0.8221 MB / 0.8068 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/0.6956, allocations: 0.5573 MB / 0.8073 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6956, allocations: 4 kB / 0.8073 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002334/0.6979, allocations: 1.406 MB / 0.8087 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.6992, allocations: 3.665 MB / 0.8123 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6992, allocations: 8 kB / 0.8123 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.6992, allocations: 23.92 kB / 0.8123 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.7004, allocations: 283.6 kB / 0.8126 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/0.7005, allocations: 23.92 kB / 0.8126 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.7021, allocations: 171.6 kB / 0.8127 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.7022, allocations: 55.98 kB / 0.8128 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.7022, allocations: 4 kB / 0.8128 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/0.7043, allocations: 1.226 MB / 0.814 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7043, allocations: 12 kB / 0.814 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7044, allocations: 16 kB / 0.814 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7055, allocations: 279.5 kB / 0.8143 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.7055, allocations: 19.94 kB / 0.8143 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.7071, allocations: 179.8 kB / 0.8145 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.7072, allocations: 52 kB / 0.8145 GB, free: 332 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007818/0.708, allocations: 0.5046 MB / 0.815 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.7082, allocations: 166 kB / 0.8152 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.7104, allocations: 1.179 MB / 0.8163 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7104, allocations: 12 kB / 0.8163 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7104, allocations: 4 kB / 0.8164 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/0.7121, allocations: 1.091 MB / 0.8174 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.7168, allocations: 2.805 MB / 0.8202 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7168, allocations: 7.953 kB / 0.8202 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.718, allocations: 251.9 kB / 0.8204 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.7181, allocations: 4 kB / 0.8204 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.7181, allocations: 24 kB / 0.8204 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.7181, allocations: 7.984 kB / 0.8204 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7182, allocations: 4 kB / 0.8204 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.7211, allocations: 1.889 MB / 0.8223 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.7218, allocations: 339 kB / 0.8226 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.722, allocations: 28 kB / 0.8226 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7233, allocations: 146.8 kB / 0.8228 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7234, allocations: 69.12 kB / 0.8228 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/0.7235, allocations: 39.98 kB / 0.8229 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001102/0.7246, allocations: 0.8347 MB / 0.8237 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7246, allocations: 0 / 0.8237 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001992/0.7266, allocations: 0.7694 MB / 0.8244 GB, free: 5.902 MB / 0.6387 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 (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.0005642/0.7272, allocations: 276.9 kB / 0.8247 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.7304, allocations: 1.74 MB / 0.8264 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7304, allocations: 8.062 kB / 0.8264 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.7313, allocations: 0.5209 MB / 0.8269 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/0.7357, allocations: 0.9481 MB / 0.8279 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2332/0.9689, allocations: 4.197 MB / 0.832 GB, free: 231.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.9702, allocations: 1.483 MB / 0.8334 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002331/0.9726, allocations: 0.5583 MB / 0.8339 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.9729, allocations: 127.4 kB / 0.8341 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/0.9729, allocations: 0 / 0.8341 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.05297/1.026, allocations: 29.28 MB / 0.8627 GB, free: 220.5 MB / 0.6387 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)