Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005554/0.005554, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001117/0.001117, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.302/1.302, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 294.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 91.86 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4102, allocations: 86.97 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1905/0.6008, allocations: 187.8 MB / 0.9498 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4245/1.025, allocations: 10.75 MB / 0.9603 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/1.027, allocations: 41.12 kB / 0.9604 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/1.028, allocations: 499.3 kB / 0.9608 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/1.035, allocations: 2.579 MB / 0.9633 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005801/1.04, allocations: 2.475 MB / 0.9658 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00494/1.045, allocations: 2.772 MB / 0.9685 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.047, allocations: 0.7769 MB / 0.9692 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/1.049, allocations: 0.9979 MB / 0.9702 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/1.051, allocations: 1.063 MB / 0.9712 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/1.051, allocations: 95.53 kB / 0.9713 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/1.057, allocations: 3.001 MB / 0.9743 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007873/1.057, allocations: 439.8 kB / 0.9747 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009471/1.058, allocations: 0.5807 MB / 0.9752 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005487/1.064, allocations: 2.974 MB / 0.9782 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.064, allocations: 0 / 0.9782 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.816e-06/1.064, allocations: 2.047 kB / 0.9782 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.064, allocations: 2.875 kB / 0.9782 GB, free: 1.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003742/1.068, allocations: 1.721 MB / 0.9798 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.068, allocations: 12.06 kB / 0.9798 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/1.07, allocations: 299.9 kB / 0.9801 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.071, allocations: 0.8376 MB / 0.981 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/1.071, allocations: 53.28 kB / 0.981 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/1.071, allocations: 68.8 kB / 0.9811 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.073, allocations: 0.9934 MB / 0.982 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/1.073, allocations: 1.203 kB / 0.982 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/1.073, allocations: 28.75 kB / 0.9821 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/1.073, allocations: 78.06 kB / 0.9821 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/1.074, allocations: 1.012 MB / 0.9831 GB, free: 16.02 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.005782/1.08, allocations: 3.583 MB / 0.9866 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.081, allocations: 0.6569 MB / 0.9873 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/1.082, allocations: 380.2 kB / 0.9876 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/1.082, allocations: 198.7 kB / 0.9878 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.082, allocations: 40.5 kB / 0.9879 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=62): time 3.957e-06/1.082, allocations: 0 / 0.9879 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62): time 0.001954/1.084, allocations: 1.031 MB / 0.9889 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/1.084, allocations: 111.7 kB / 0.989 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/1.085, allocations: 0.8055 MB / 0.9898 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/1.085, allocations: 38.61 kB / 0.9898 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/1.085, allocations: 429 kB / 0.9902 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/1.086, allocations: 230.2 kB / 0.9904 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/1.086, allocations: 148.4 kB / 0.9906 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.086, allocations: 334.7 kB / 0.9909 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/1.087, allocations: 343.3 kB / 0.9912 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/1.087, allocations: 464.3 kB / 0.9917 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.088, allocations: 0.7674 MB / 0.9924 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.088, allocations: 0.9375 kB / 0.9924 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001434/1.09, allocations: 0.9365 MB / 0.9933 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.09, allocations: 6.094 kB / 0.9933 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.09, allocations: 2.5 kB / 0.9933 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.09, allocations: 5.938 kB / 0.9933 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/1.091, allocations: 148.1 kB / 0.9935 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.091, allocations: 8.531 kB / 0.9935 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/1.091, allocations: 87.55 kB / 0.9936 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/1.091, allocations: 27.61 kB / 0.9936 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007341/1.092, allocations: 0.5388 MB / 0.9941 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005374/1.093, allocations: 450.6 kB / 0.9946 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009583/1.094, allocations: 0.7319 MB / 0.9953 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/1.094, allocations: 1.094 kB / 0.9953 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001276/1.095, allocations: 0.8974 MB / 0.9961 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.095, allocations: 9 kB / 0.9962 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.095, allocations: 6.859 kB / 0.9962 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/1.095, allocations: 6.562 kB / 0.9962 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/1.096, allocations: 147.9 kB / 0.9963 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.096, allocations: 8.578 kB / 0.9963 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/1.096, allocations: 71.67 kB / 0.9964 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/1.096, allocations: 28.34 kB / 0.9964 GB, free: 12.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002236/1.097, allocations: 222.2 kB / 0.9966 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/1.097, allocations: 100.3 kB / 0.9967 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/1.098, allocations: 0.8057 MB / 0.9975 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.098, allocations: 6.25 kB / 0.9975 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.098, allocations: 0.9688 kB / 0.9975 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009681/1.099, allocations: 0.7428 MB / 0.9982 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/1.102, allocations: 2.099 MB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.102, allocations: 3.719 kB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/1.102, allocations: 130.7 kB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/1.102, allocations: 10.19 kB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/1.103, allocations: 21.22 kB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/1.103, allocations: 11.45 kB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.103, allocations: 6.031 kB / 1 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.104, allocations: 1.359 MB / 1.002 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/1.105, allocations: 264.9 kB / 1.002 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.105, allocations: 18.53 kB / 1.002 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/1.105, allocations: 24.41 kB / 1.002 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/1.105, allocations: 47.33 kB / 1.002 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/1.105, allocations: 24.89 kB / 1.002 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005956/1.106, allocations: 0.555 MB / 1.003 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.106, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001657/1.108, allocations: 0.7552 MB / 1.003 GB, free: 11.02 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.001144/1.109, allocations: 0.5479 MB / 1.004 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002081/1.111, allocations: 1.19 MB / 1.005 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.111, allocations: 0.7812 kB / 1.005 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004866/1.111, allocations: 372.8 kB / 1.005 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.114, allocations: 0.5275 MB / 1.006 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/1.116, allocations: 1.935 MB / 1.008 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/1.117, allocations: 1.075 MB / 1.009 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001247/1.118, allocations: 418.9 kB / 1.009 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/1.118, allocations: 77.23 kB / 1.009 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of SimCode: time 2.344e-06/1.118, allocations: 0 / 1.009 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.03345/1.152, allocations: 23.01 MB / 1.032 GB, free: 13.23 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)