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.001257/0.001258, allocations: 107.3 kB / 15.99 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.001285/0.001285, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.238/1.238, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 281.1 kB / 291 MB, free: 14.61 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8951/0.8951, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 89.58 kB / 0.5953 GB, free: 4.457 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1656, allocations: 86.98 MB / 0.6803 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4824/0.6481, allocations: 239.7 MB / 0.9144 GB, free: 13.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.6689, allocations: 15.86 MB / 0.9299 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.6719, allocations: 75.5 kB / 0.93 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.6751, allocations: 1.05 MB / 0.931 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009178/0.6843, allocations: 3.586 MB / 0.9345 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.6889, allocations: 1.649 MB / 0.9361 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006417/0.6953, allocations: 5.26 MB / 0.9412 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.6976, allocations: 1.621 MB / 0.9428 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005479/0.7031, allocations: 2.604 MB / 0.9454 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/0.7069, allocations: 1.823 MB / 0.9471 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.7074, allocations: 179.9 kB / 0.9473 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/0.713, allocations: 2.829 MB / 0.9501 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.714, allocations: 0.7713 MB / 0.9508 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.7156, allocations: 1.147 MB / 0.9519 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.7194, allocations: 2.647 MB / 0.9545 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7194, allocations: 0 / 0.9545 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7194, allocations: 0 / 0.9545 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.045e-05/0.7195, allocations: 0 / 0.9545 GB, free: 4.031 MB / 0.7012 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.004172/0.7237, allocations: 2.507 MB / 0.957 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7237, allocations: 8.031 kB / 0.957 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.7267, allocations: 0.501 MB / 0.9575 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.7291, allocations: 1.28 MB / 0.9587 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.7292, allocations: 182.2 kB / 0.9589 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.7295, allocations: 148 kB / 0.959 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.7324, allocations: 1.745 MB / 0.9607 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.7324, allocations: 3.938 kB / 0.9607 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.7326, allocations: 60 kB / 0.9608 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.7326, allocations: 62.69 kB / 0.9609 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.7349, allocations: 1.377 MB / 0.9622 GB, free: 11.96 MB / 0.7169 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.00894/0.7439, allocations: 8.183 MB / 0.9702 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.7454, allocations: 0.8977 MB / 0.9711 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.7463, allocations: 0.5354 MB / 0.9716 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.7469, allocations: 324.4 kB / 0.9719 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.7469, allocations: 51.98 kB / 0.972 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.7469, allocations: 3.938 kB / 0.972 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.006766/0.7537, allocations: 3.113 MB / 0.975 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7538, allocations: 68.41 kB / 0.9751 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.7552, allocations: 1.262 MB / 0.9763 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.7553, allocations: 49.7 kB / 0.9763 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.7559, allocations: 0.8094 MB / 0.9771 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.7562, allocations: 366.7 kB / 0.9775 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.7565, allocations: 230.7 kB / 0.9777 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7566, allocations: 349.9 kB / 0.978 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007631/0.7574, allocations: 453.8 kB / 0.9785 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/0.7584, allocations: 0.823 MB / 0.9793 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.7601, allocations: 1.252 MB / 0.9805 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7602, allocations: 3.938 kB / 0.9805 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002334/0.7625, allocations: 1.401 MB / 0.9819 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.7625, allocations: 11.94 kB / 0.9819 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.7626, allocations: 13.78 kB / 0.9819 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.7626, allocations: 16 kB / 0.9819 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.7637, allocations: 276.3 kB / 0.9822 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.7637, allocations: 19.92 kB / 0.9822 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.7654, allocations: 179.5 kB / 0.9824 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.7655, allocations: 52 kB / 0.9824 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/0.7667, allocations: 0.764 MB / 0.9832 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.7678, allocations: 0.826 MB / 0.984 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001807/0.7696, allocations: 1.233 MB / 0.9852 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.7697, allocations: 0 / 0.9852 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002383/0.772, allocations: 1.397 MB / 0.9865 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7721, allocations: 8.969 kB / 0.9865 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7721, allocations: 12 kB / 0.9866 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7721, allocations: 12 kB / 0.9866 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.7732, allocations: 283.5 kB / 0.9868 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.7732, allocations: 19.94 kB / 0.9869 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.7748, allocations: 175.6 kB / 0.987 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.7749, allocations: 51.98 kB / 0.9871 GB, free: 1.027 MB / 0.7325 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.0003148/0.7752, allocations: 255.9 kB / 0.9873 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.7754, allocations: 166 kB / 0.9875 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2595/1.035, allocations: 1.159 MB / 0.9886 GB, free: 245.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.035, allocations: 10.09 kB / 0.9886 GB, free: 245.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.035, allocations: 0.8438 kB / 0.9886 GB, free: 245.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/1.037, allocations: 1.078 MB / 0.9897 GB, free: 245.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/1.041, allocations: 2.789 MB / 0.9924 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.041, allocations: 2.719 kB / 0.9924 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.042, allocations: 243.3 kB / 0.9926 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.042, allocations: 9.312 kB / 0.9926 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/1.042, allocations: 31.62 kB / 0.9927 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.042, allocations: 5.844 kB / 0.9927 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.042, allocations: 3.844 kB / 0.9927 GB, free: 244.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/1.045, allocations: 1.762 MB / 0.9944 GB, free: 243.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/1.045, allocations: 343.6 kB / 0.9947 GB, free: 243.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.045, allocations: 25.91 kB / 0.9947 GB, free: 243.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.047, allocations: 143.5 kB / 0.9949 GB, free: 243.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.047, allocations: 68.75 kB / 0.9949 GB, free: 243.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/1.047, allocations: 36.34 kB / 0.995 GB, free: 243.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009867/1.048, allocations: 0.8429 MB / 0.9958 GB, free: 243.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/1.048, allocations: 0 / 0.9958 GB, free: 243.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002034/1.05, allocations: 0.7651 MB / 0.9966 GB, free: 243.3 MB / 0.7325 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.0006319/1.051, allocations: 281.9 kB / 0.9968 GB, free: 243.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003508/1.054, allocations: 2.002 MB / 0.9988 GB, free: 242.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.054, allocations: 3.938 kB / 0.9988 GB, free: 242.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/1.055, allocations: 0.5181 MB / 0.9993 GB, free: 242.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.059, allocations: 0.9211 MB / 1 GB, free: 242.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/1.064, allocations: 4.248 MB / 1.004 GB, free: 239.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/1.065, allocations: 1.44 MB / 1.006 GB, free: 239.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/1.065, allocations: 134.6 kB / 1.006 GB, free: 239.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/1.065, allocations: 0 / 1.006 GB, free: 239.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.04925/1.115, allocations: 26.49 MB / 1.032 GB, free: 235 MB / 0.7325 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)